#951FA0#951FA0

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

Color values

HEX#951FA0
RGBrgb(149, 31, 160)
HSLhsl(295, 68%, 37%)
HSVhsv(295, 81%, 63%)
CMYKcmyk(6.9%, 80.6%, 0%, 37.3%)
CIE-LABlab(37.68, 62.15, -43.34)
CIE-LCHlch(37.68, 75.77, 325.11°)
OKLaboklab(49.02% 0.1676 -0.121)
OKLCHoklch(49.02% 0.207 324.2)
XYZxyz(19.2290, 9.9088, 34.1507)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951FA0 #2AA01F
analogous
#551FA0 #951FA0 #A01F6A
triadic
#951FA0 #A0951F #1FA095
tetradic
#951FA0 #A0551F #2AA01F #1F6AA0
square
#951FA0 #A0551F #2AA01F #1F6AA0
split-complementary
#951FA0 #6AA01F #1FA055
monochromatic
#360B39 #65156D #951FA0 #C529D3 #D45ADF

Accessibility & contrast

On white

7.04
#951FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951FA0
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951FA0#FFFFFF#000000##FFFFFF
##951FA01.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#3A5D9D
Tritanopia (blue-blind)
#983960
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #951fa0;
/* rgb */ color: rgb(149, 31, 160);
/* oklch */ color: oklch(49.0% 0.207 324.2);
Tailwind
colors: {
  custom: {
    50: '#b86bbd',
    500: '#951fa0',
    950: '#000000',
  },
}
SCSS
$custom: #951fa0;
$custom-light: #b86bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#951fa0",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 294.884,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49022,
    "c": 0.20673,
    "h": 324.2
  },
  "luminance": 0.09908
}

Semantic roles & 50–950 ramp

primary
#951FA0
secondary
#61C358
accent
#EA3D4C
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #951FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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