#951FA6#951FA6

#951FA6 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.211 H 322.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#951FA6
RGBrgb(149, 31, 166)
HSLhsl(292, 69%, 39%)
HSVhsv(292, 81%, 65%)
CMYKcmyk(10.2%, 81.3%, 0%, 34.9%)
CIE-LABlab(38.06, 63.20, -46.33)
CIE-LCHlch(38.06, 78.36, 323.76°)
OKLaboklab(49.42% 0.167 -0.1298)
OKLCHoklch(49.42% 0.211 322.1)
XYZxyz(19.7666, 10.1239, 36.9820)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951FA6 #30A61F
analogous
#511FA6 #951FA6 #A61F73
triadic
#951FA6 #A6951F #1FA695
tetradic
#951FA6 #A6511F #30A61F #1F73A6
square
#951FA6 #A6511F #30A61F #1F73A6
split-complementary
#951FA6 #73A61F #1FA651
monochromatic
#380C3F #671572 #951FA6 #C22BD7 #D15EE1

Accessibility & contrast

On white

6.94
#951FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#951FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #951FA6
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951FA6#FFFFFF#000000##FFFFFF
##951FA61.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#355EA3
Tritanopia (blue-blind)
#973C64
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #951fa6;
/* rgb */ color: rgb(149, 31, 166);
/* oklch */ color: oklch(49.4% 0.211 322.1);
Tailwind
colors: {
  custom: {
    50: '#b86bc1',
    500: '#951fa6',
    950: '#000000',
  },
}
SCSS
$custom: #951fa6;
$custom-light: #b86bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#951fa6",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 292.444,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49417,
    "c": 0.21146,
    "h": 322.1
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#951FA6
secondary
#69C55B
accent
#EB3C52
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #951FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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