#952297#952297

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

Color values

HEX#952297
RGBrgb(149, 34, 151)
HSLhsl(299, 63%, 36%)
HSVhsv(299, 77%, 59%)
CMYKcmyk(1.3%, 77.5%, 0%, 40.8%)
CIE-LABlab(37.43, 59.76, -38.29)
CIE-LCHlch(37.43, 70.97, 327.35°)
OKLaboklab(48.67% 0.1658 -0.1063)
OKLCHoklch(48.67% 0.197 327.3)
XYZxyz(18.5521, 9.7693, 30.1807)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952297 #249722
analogous
#5B2297 #952297 #97225F
triadic
#952297 #979522 #229795
tetradic
#952297 #975B22 #249722 #225F97
square
#952297 #975B22 #249722 #225F97
split-complementary
#952297 #5F9722 #22975B
monochromatic
#320C33 #641765 #952297 #C62DC9 #D85ADA

Accessibility & contrast

On white

7.11
#952297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#952297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952297
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952297#FFFFFF#000000##FFFFFF
##9522971.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #952297;
/* rgb */ color: rgb(149, 34, 151);
/* oklch */ color: oklch(48.7% 0.197 327.3);
Tailwind
colors: {
  custom: {
    50: '#b86bb6',
    500: '#952297',
    950: '#000000',
  },
}
SCSS
$custom: #952297;
$custom-light: #b86bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#952297",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 298.974,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48666,
    "c": 0.19695,
    "h": 327.3
  },
  "luminance": 0.09768
}

Semantic roles & 50–950 ramp

primary
#952297
secondary
#59BE57
accent
#E64244
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #952297

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

Preview Lab → · Contrast checker → · Palette generator →

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