#952597#952597

#952597 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.9% C 0.194 H 327.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#952597
RGBrgb(149, 37, 151)
HSLhsl(299, 61%, 37%)
HSVhsv(299, 75%, 59%)
CMYKcmyk(1.3%, 75.5%, 0%, 40.8%)
CIE-LABlab(37.75, 58.82, -37.77)
CIE-LCHlch(37.75, 69.91, 327.29°)
OKLaboklab(48.9% 0.1632 -0.1048)
OKLCHoklch(48.9% 0.194 327.3)
XYZxyz(18.6416, 9.9484, 30.2105)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952597 #279725
analogous
#5C2597 #952597 #972560
triadic
#952597 #979525 #259795
tetradic
#952597 #975C25 #279725 #256097
square
#952597 #975C25 #279725 #256097
split-complementary
#952597 #609725 #25975C
monochromatic
#340D35 #641966 #952597 #C631C8 #D65FD8

Accessibility & contrast

On white

7.02
#952597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#952597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952597
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952597#FFFFFF#000000##FFFFFF
##9525971.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06509A
Deuteranopia (green-blind)
#435E94
Tritanopia (blue-blind)
#99385D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952597;
/* rgb */ color: rgb(149, 37, 151);
/* oklch */ color: oklch(48.9% 0.194 327.3);
Tailwind
colors: {
  custom: {
    50: '#b86cb6',
    500: '#952597',
    950: '#000000',
  },
}
SCSS
$custom: #952597;
$custom-light: #b86cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#952597",
  "rgb": {
    "r": 149,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 298.947,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48897,
    "c": 0.19394,
    "h": 327.3
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#952597
secondary
#5DBD5B
accent
#E44447
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #952597

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

Preview Lab → · Contrast checker → · Palette generator →

#952597 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva