#952997#952997

#952997 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.190 H 327.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#952997
RGBrgb(149, 41, 151)
HSLhsl(299, 57%, 38%)
HSVhsv(299, 73%, 59%)
CMYKcmyk(1.3%, 72.8%, 0%, 40.8%)
CIE-LABlab(38.22, 57.48, -37.03)
CIE-LCHlch(38.22, 68.38, 327.21°)
OKLaboklab(49.23% 0.1594 -0.1027)
OKLCHoklch(49.23% 0.19 327.2)
XYZxyz(18.7730, 10.2111, 30.2543)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952997 #2B9729
analogous
#5E2997 #952997 #972962
triadic
#952997 #979529 #299795
tetradic
#952997 #975E29 #2B9729 #296297
square
#952997 #975E29 #2B9729 #296297
split-complementary
#952997 #629729 #29975E
monochromatic
#360F37 #661C67 #952997 #C436C7 #D365D5

Accessibility & contrast

On white

6.90
#952997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#952997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952997
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952997#FFFFFF#000000##FFFFFF
##9529971.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#455F94
Tritanopia (blue-blind)
#993A5E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #952997;
/* rgb */ color: rgb(149, 41, 151);
/* oklch */ color: oklch(49.2% 0.190 327.2);
Tailwind
colors: {
  custom: {
    50: '#b86eb6',
    500: '#952997',
    950: '#000000',
  },
}
SCSS
$custom: #952997;
$custom-light: #b86eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#952997",
  "rgb": {
    "r": 149,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 298.909,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49232,
    "c": 0.18961,
    "h": 327.2
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#952997
secondary
#62BB61
accent
#E1474A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #952997

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

Preview Lab → · Contrast checker → · Palette generator →

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