#952198#952198

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

Color values

HEX#952198
RGBrgb(149, 33, 152)
HSLhsl(298, 64%, 36%)
HSVhsv(298, 78%, 60%)
CMYKcmyk(2%, 78.3%, 0%, 40.4%)
CIE-LABlab(37.38, 60.22, -38.97)
CIE-LCHlch(37.38, 71.73, 327.09°)
OKLaboklab(48.65% 0.1666 -0.1083)
OKLCHoklch(48.65% 0.199 327)
XYZxyz(18.6055, 9.7456, 30.6008)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952198 #249821
analogous
#5A2198 #952198 #982160
triadic
#952198 #989521 #219895
tetradic
#952198 #985A21 #249821 #216098
square
#952198 #985A21 #249821 #216098
split-complementary
#952198 #609821 #21985A
monochromatic
#320B33 #641666 #952198 #C62CCA #D859DB

Accessibility & contrast

On white

7.12
#952198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952198
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952198#FFFFFF#000000##FFFFFF
##9521981.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#405D95
Tritanopia (blue-blind)
#99365C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952198;
/* rgb */ color: rgb(149, 33, 152);
/* oklch */ color: oklch(48.7% 0.199 327.0);
Tailwind
colors: {
  custom: {
    50: '#b86bb7',
    500: '#952198',
    950: '#000000',
  },
}
SCSS
$custom: #952198;
$custom-light: #b86bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#952198",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 298.487,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48654,
    "c": 0.19869,
    "h": 327
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

primary
#952198
secondary
#59BF56
accent
#E74045
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #952198

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

Preview Lab → · Contrast checker → · Palette generator →

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