#952188#952188

#952188 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.187 H 333.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#952188
RGBrgb(149, 33, 136)
HSLhsl(307, 64%, 36%)
HSVhsv(307, 78%, 58%)
CMYKcmyk(0%, 77.9%, 8.7%, 41.6%)
CIE-LABlab(36.47, 57.63, -30.61)
CIE-LCHlch(36.47, 65.25, 332.03°)
OKLaboklab(47.71% 0.1666 -0.084)
OKLCHoklch(47.71% 0.187 333.2)
XYZxyz(17.3823, 9.2564, 24.1590)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952188 #21952E
analogous
#682195 #952188 #95214E
triadic
#952188 #889521 #218895
tetradic
#952188 #956821 #21952E #214E95
square
#952188 #956821 #21952E #214E95
split-complementary
#952188 #4E9521 #219568
monochromatic
#310B2D #63165A #952188 #C72CB6 #DA57CB

Accessibility & contrast

On white

7.37
#952188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#952188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952188
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952188#FFFFFF#000000##FFFFFF
##9521881.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B8B
Deuteranopia (green-blind)
#495C85
Tritanopia (blue-blind)
#9C2E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #952188;
/* rgb */ color: rgb(149, 33, 136);
/* oklch */ color: oklch(47.7% 0.187 333.2);
Tailwind
colors: {
  custom: {
    50: '#b86aab',
    500: '#952188',
    950: '#000000',
  },
}
SCSS
$custom: #952188;
$custom-light: #b86aab;
$custom-dark: #000000;
JSON
{
  "hex": "#952188",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 306.724,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47712,
    "c": 0.1866,
    "h": 333.2
  },
  "luminance": 0.09255
}

Semantic roles & 50–950 ramp

primary
#952188
secondary
#54BE60
accent
#E75441
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #952188

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

Preview Lab → · Contrast checker → · Palette generator →

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