#952197#952197

#952197 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.198 H 327.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#952197
RGBrgb(149, 33, 151)
HSLhsl(299, 64%, 36%)
HSVhsv(299, 78%, 59%)
CMYKcmyk(1.3%, 78.1%, 0%, 40.8%)
CIE-LABlab(37.32, 60.05, -38.45)
CIE-LCHlch(37.32, 71.31, 327.37°)
OKLaboklab(48.59% 0.1666 -0.1068)
OKLCHoklch(48.59% 0.198 327.3)
XYZxyz(18.5239, 9.7130, 30.1713)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952197 #239721
analogous
#5A2197 #952197 #97215E
triadic
#952197 #979521 #219795
tetradic
#952197 #975A21 #239721 #215E97
square
#952197 #975A21 #239721 #215E97
split-complementary
#952197 #5E9721 #21975A
monochromatic
#320B33 #631665 #952197 #C72CC9 #D858DA

Accessibility & contrast

On white

7.14
#952197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#952197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952197
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952197#FFFFFF#000000##FFFFFF
##9521971.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #952197;
/* rgb */ color: rgb(149, 33, 151);
/* oklch */ color: oklch(48.6% 0.198 327.3);
Tailwind
colors: {
  custom: {
    50: '#b86bb6',
    500: '#952197',
    950: '#000000',
  },
}
SCSS
$custom: #952197;
$custom-light: #b86bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#952197",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 298.983,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48592,
    "c": 0.19791,
    "h": 327.3
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#952197
secondary
#57BE55
accent
#E74143
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #952197

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

Preview Lab → · Contrast checker → · Palette generator →

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