#95339B#95339B

#95339B is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.4% C 0.181 H 325.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#95339B
RGBrgb(149, 51, 155)
HSLhsl(297, 50%, 40%)
HSVhsv(297, 67%, 61%)
CMYKcmyk(3.9%, 67.1%, 0%, 39.2%)
CIE-LABlab(39.79, 54.39, -36.95)
CIE-LCHlch(39.79, 65.76, 325.81°)
OKLaboklab(50.43% 0.1488 -0.1025)
OKLCHoklch(50.43% 0.181 325.4)
XYZxyz(19.4942, 11.1250, 32.1245)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95339B #399B33
analogous
#61339B #95339B #9B336D
triadic
#95339B #9B9533 #339B95
tetradic
#95339B #9B6133 #399B33 #336D9B
square
#95339B #9B6133 #399B33 #336D9B
split-complementary
#95339B #6D9B33 #339B61
monochromatic
#3C153F #69246D #95339B #BC48C3 #CD76D2

Accessibility & contrast

On white

6.51
#95339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#95339B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #95339B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95339B#FFFFFF#000000##FFFFFF
##95339B1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F569E
Deuteranopia (green-blind)
#486298
Tritanopia (blue-blind)
#984363
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #95339b;
/* rgb */ color: rgb(149, 51, 155);
/* oklch */ color: oklch(50.4% 0.181 325.4);
Tailwind
colors: {
  custom: {
    50: '#b773b9',
    500: '#95339b',
    950: '#000000',
  },
}
SCSS
$custom: #95339b;
$custom-light: #b773b9;
$custom-dark: #000000;
JSON
{
  "hex": "#95339b",
  "rgb": {
    "r": 149,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 296.538,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50434,
    "c": 0.18072,
    "h": 325.4
  },
  "luminance": 0.11124
}

Semantic roles & 50–950 ramp

primary
#95339B
secondary
#74BA6F
accent
#DA4E56
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #95339B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#95339B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva