#952398#952398

#952398 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.197 H 326.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#952398
RGBrgb(149, 35, 152)
HSLhsl(298, 63%, 37%)
HSVhsv(298, 77%, 60%)
CMYKcmyk(2%, 77%, 0%, 40.4%)
CIE-LABlab(37.59, 59.62, -38.64)
CIE-LCHlch(37.59, 71.05, 327.06°)
OKLaboklab(48.8% 0.1649 -0.1073)
OKLCHoklch(48.8% 0.197 326.9)
XYZxyz(18.6626, 9.8599, 30.6199)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952398 #269823
analogous
#5B2398 #952398 #982360
triadic
#952398 #989523 #239895
tetradic
#952398 #985B23 #269823 #236098
square
#952398 #985B23 #269823 #236098
split-complementary
#952398 #609823 #23985B
monochromatic
#330C35 #641866 #952398 #C62ECA #D65CD9

Accessibility & contrast

On white

7.07
#952398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952398
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952398#FFFFFF#000000##FFFFFF
##9523981.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#415D95
Tritanopia (blue-blind)
#99375D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952398;
/* rgb */ color: rgb(149, 35, 152);
/* oklch */ color: oklch(48.8% 0.197 326.9);
Tailwind
colors: {
  custom: {
    50: '#b86cb7',
    500: '#952398',
    950: '#000000',
  },
}
SCSS
$custom: #952398;
$custom-light: #b86cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#952398",
  "rgb": {
    "r": 149,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 298.462,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48802,
    "c": 0.19676,
    "h": 326.9
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#952398
secondary
#5BBE59
accent
#E64246
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #952398

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

Preview Lab → · Contrast checker → · Palette generator →

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