#952097#952097

#952097 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.199 H 327.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#952097
RGBrgb(149, 32, 151)
HSLhsl(299, 65%, 36%)
HSVhsv(299, 79%, 59%)
CMYKcmyk(1.3%, 78.8%, 0%, 40.8%)
CIE-LABlab(37.22, 60.34, -38.61)
CIE-LCHlch(37.22, 71.64, 327.38°)
OKLaboklab(48.52% 0.1674 -0.1072)
OKLCHoklch(48.52% 0.199 327.4)
XYZxyz(18.4966, 9.6583, 30.1622)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952097 #229720
analogous
#592097 #952097 #97205D
triadic
#952097 #979520 #209795
tetradic
#952097 #975920 #229720 #205D97
square
#952097 #975920 #229720 #205D97
split-complementary
#952097 #5D9720 #209759
monochromatic
#310B32 #631564 #952097 #C72BC9 #D956DB

Accessibility & contrast

On white

7.16
#952097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#952097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952097
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952097#FFFFFF#000000##FFFFFF
##9520971.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#9A355B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952097;
/* rgb */ color: rgb(149, 32, 151);
/* oklch */ color: oklch(48.5% 0.199 327.4);
Tailwind
colors: {
  custom: {
    50: '#b86ab6',
    500: '#952097',
    950: '#000000',
  },
}
SCSS
$custom: #952097;
$custom-light: #b86ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#952097",
  "rgb": {
    "r": 149,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 298.992,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48521,
    "c": 0.19884,
    "h": 327.4
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#952097
secondary
#56BF54
accent
#E84043
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #952097

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

Preview Lab → · Contrast checker → · Palette generator →

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