#951FA8#951FA8

#951FA8 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.213 H 321.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#951FA8
RGBrgb(149, 31, 168)
HSLhsl(292, 69%, 39%)
HSVhsv(292, 82%, 66%)
CMYKcmyk(11.3%, 81.5%, 0%, 34.1%)
CIE-LABlab(38.20, 63.55, -47.32)
CIE-LCHlch(38.20, 79.23, 323.33°)
OKLaboklab(49.55% 0.1667 -0.1327)
OKLCHoklch(49.55% 0.213 321.5)
XYZxyz(19.9515, 10.1978, 37.9557)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951FA8 #32A81F
analogous
#511FA8 #951FA8 #A81F77
triadic
#951FA8 #A8951F #1FA895
tetradic
#951FA8 #A8511F #32A81F #1F77A8
square
#951FA8 #A8511F #32A81F #1F77A8
split-complementary
#951FA8 #77A81F #1FA851
monochromatic
#390C41 #671574 #951FA8 #C02CD8 #D060E2

Accessibility & contrast

On white

6.91
#951FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#951FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #951FA8
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951FA8#FFFFFF#000000##FFFFFF
##951FA81.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#335EA5
Tritanopia (blue-blind)
#963D65
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #951fa8;
/* rgb */ color: rgb(149, 31, 168);
/* oklch */ color: oklch(49.6% 0.213 321.5);
Tailwind
colors: {
  custom: {
    50: '#b86bc2',
    500: '#951fa8',
    950: '#000000',
  },
}
SCSS
$custom: #951fa8;
$custom-light: #b86bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#951fa8",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 291.679,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49552,
    "c": 0.21305,
    "h": 321.5
  },
  "luminance": 0.10197
}

Semantic roles & 50–950 ramp

primary
#951FA8
secondary
#6BC65D
accent
#EC3C54
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #951FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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