#951EA1#951EA1

#951EA1 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.208 H 323.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#951EA1
RGBrgb(149, 30, 161)
HSLhsl(295, 69%, 37%)
HSVhsv(295, 81%, 63%)
CMYKcmyk(7.5%, 81.4%, 0%, 36.9%)
CIE-LABlab(37.65, 62.59, -43.99)
CIE-LCHlch(37.65, 76.50, 324.90°)
OKLaboklab(49.02% 0.1683 -0.1229)
OKLCHoklch(49.02% 0.208 323.8)
XYZxyz(19.2912, 9.8926, 34.6047)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951EA1 #2AA11E
analogous
#541EA1 #951EA1 #A11E6B
triadic
#951EA1 #A1951E #1EA195
tetradic
#951EA1 #A1541E #2AA11E #1E6BA1
square
#951EA1 #A1541E #2AA11E #1E6BA1
split-complementary
#951EA1 #6BA11E #1EA154
monochromatic
#360B3A #65146D #951EA1 #C528D5 #D459E0

Accessibility & contrast

On white

7.05
#951EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#951EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951EA1
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951EA1#FFFFFF#000000##FFFFFF
##951EA11.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#395D9E
Tritanopia (blue-blind)
#983961
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #951ea1;
/* rgb */ color: rgb(149, 30, 161);
/* oklch */ color: oklch(49.0% 0.208 323.8);
Tailwind
colors: {
  custom: {
    50: '#b86abd',
    500: '#951ea1',
    950: '#000000',
  },
}
SCSS
$custom: #951ea1;
$custom-light: #b86abd;
$custom-dark: #000000;
JSON
{
  "hex": "#951ea1",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 294.504,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49021,
    "c": 0.20837,
    "h": 323.8
  },
  "luminance": 0.09891
}

Semantic roles & 50–950 ramp

primary
#951EA1
secondary
#61C457
accent
#EB3C4C
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #951EA1

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

Preview Lab → · Contrast checker → · Palette generator →

#951EA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva