#952E97#952E97

#952E97 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.184 H 327.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#952E97
RGBrgb(149, 46, 151)
HSLhsl(299, 53%, 39%)
HSVhsv(299, 70%, 59%)
CMYKcmyk(1.3%, 69.5%, 0%, 40.8%)
CIE-LABlab(38.86, 55.66, -36.01)
CIE-LCHlch(38.86, 66.29, 327.10°)
OKLaboklab(49.69% 0.1543 -0.0998)
OKLCHoklch(49.69% 0.184 327.1)
XYZxyz(18.9570, 10.5792, 30.3157)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952E97 #30972E
analogous
#602E97 #952E97 #972E64
triadic
#952E97 #97952E #2E9795
tetradic
#952E97 #97602E #30972E #2E6497
square
#952E97 #97602E #30972E #2E6497
split-complementary
#952E97 #64972E #2E9760
monochromatic
#381139 #672068 #952E97 #C23EC4 #D16DD2

Accessibility & contrast

On white

6.74
#952E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#952E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952E97
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952E97#FFFFFF#000000##FFFFFF
##952E971.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B539A
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#993E5F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #952e97;
/* rgb */ color: rgb(149, 46, 151);
/* oklch */ color: oklch(49.7% 0.184 327.1);
Tailwind
colors: {
  custom: {
    50: '#b770b6',
    500: '#952e97',
    950: '#000000',
  },
}
SCSS
$custom: #952e97;
$custom-light: #b770b6;
$custom-dark: #000000;
JSON
{
  "hex": "#952e97",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 298.857,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49694,
    "c": 0.18371,
    "h": 327.1
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#952E97
secondary
#69BA67
accent
#DD4B4E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952E97

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

Preview Lab → · Contrast checker → · Palette generator →

#952E97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva