#951FC2#951FC2

#951FC2 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.4% C 0.234 H 313.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#951FC2
RGBrgb(149, 31, 194)
HSLhsl(283, 72%, 44%)
HSVhsv(283, 84%, 76%)
CMYKcmyk(23.2%, 84%, 0%, 23.9%)
CIE-LABlab(40.02, 68.37, -59.75)
CIE-LCHlch(40.02, 90.80, 318.85°)
OKLaboklab(51.41% 0.1619 -0.1691)
OKLCHoklch(51.41% 0.234 313.7)
XYZxyz(22.6203, 11.2654, 52.0113)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951FC2 #4CC21F
analogous
#441FC2 #951FC2 #C21F9D
triadic
#951FC2 #C2951F #1FC295
tetradic
#951FC2 #C2441F #4CC21F #1F9DC2
square
#951FC2 #C2441F #4CC21F #1F9DC2
split-complementary
#951FC2 #9DC21F #1FC244
monochromatic
#440E58 #6C178D #951FC2 #B33EE0 #C873E9

Accessibility & contrast

On white

6.46
#951FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#951FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #951FC2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951FC2#FFFFFF#000000##FFFFFF
##951FC21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#904A74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #951fc2;
/* rgb */ color: rgb(149, 31, 194);
/* oklch */ color: oklch(51.4% 0.234 313.7);
Tailwind
colors: {
  custom: {
    50: '#b96cd5',
    500: '#951fc2',
    950: '#000000',
  },
}
SCSS
$custom: #951fc2;
$custom-light: #b96cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#951fc2",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 194
  },
  "hsl": {
    "h": 283.436,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5141,
    "c": 0.23412,
    "h": 313.7
  },
  "luminance": 0.11265
}

Semantic roles & 50–950 ramp

primary
#951FC2
secondary
#88CF6D
accent
#EF396B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #951FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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