#952397#952397

#952397 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.196 H 327.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#952397
RGBrgb(149, 35, 151)
HSLhsl(299, 62%, 36%)
HSVhsv(299, 77%, 59%)
CMYKcmyk(1.3%, 76.8%, 0%, 40.8%)
CIE-LABlab(37.53, 59.45, -38.12)
CIE-LCHlch(37.53, 70.63, 327.33°)
OKLaboklab(48.74% 0.1649 -0.1058)
OKLCHoklch(48.74% 0.196 327.3)
XYZxyz(18.5811, 9.8273, 30.1904)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952397 #259723
analogous
#5B2397 #952397 #97235F
triadic
#952397 #979523 #239795
tetradic
#952397 #975B23 #259723 #235F97
square
#952397 #975B23 #259723 #235F97
split-complementary
#952397 #5F9723 #23975B
monochromatic
#330C34 #641765 #952397 #C62FC9 #D75BD9

Accessibility & contrast

On white

7.08
#952397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#952397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952397
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952397#FFFFFF#000000##FFFFFF
##9523971.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#99375C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952397;
/* rgb */ color: rgb(149, 35, 151);
/* oklch */ color: oklch(48.7% 0.196 327.3);
Tailwind
colors: {
  custom: {
    50: '#b86cb6',
    500: '#952397',
    950: '#000000',
  },
}
SCSS
$custom: #952397;
$custom-light: #b86cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#952397",
  "rgb": {
    "r": 149,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 298.966,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48741,
    "c": 0.19597,
    "h": 327.3
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#952397
secondary
#5ABE58
accent
#E54245
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #952397

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

Preview Lab → · Contrast checker → · Palette generator →

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