#951FA5#951FA5

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

Color values

HEX#951FA5
RGBrgb(149, 31, 165)
HSLhsl(293, 68%, 38%)
HSVhsv(293, 81%, 65%)
CMYKcmyk(9.7%, 81.2%, 0%, 35.3%)
CIE-LABlab(38.00, 63.02, -45.83)
CIE-LCHlch(38.00, 77.93, 323.97°)
OKLaboklab(49.35% 0.1671 -0.1283)
OKLCHoklch(49.35% 0.211 322.5)
XYZxyz(19.6753, 10.0873, 36.5007)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951FA5 #2FA51F
analogous
#521FA5 #951FA5 #A51F72
triadic
#951FA5 #A5951F #1FA595
tetradic
#951FA5 #A5521F #2FA51F #1F72A5
square
#951FA5 #A5521F #2FA51F #1F72A5
split-complementary
#951FA5 #72A51F #1FA552
monochromatic
#380C3E #661571 #951FA5 #C22AD7 #D15EE1

Accessibility & contrast

On white

6.96
#951FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #951FA5
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951FA5#FFFFFF#000000##FFFFFF
##951FA51.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#365EA2
Tritanopia (blue-blind)
#973C63
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #951fa5;
/* rgb */ color: rgb(149, 31, 165);
/* oklch */ color: oklch(49.4% 0.211 322.5);
Tailwind
colors: {
  custom: {
    50: '#b86bc0',
    500: '#951fa5',
    950: '#000000',
  },
}
SCSS
$custom: #951fa5;
$custom-light: #b86bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#951fa5",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 292.836,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4935,
    "c": 0.21067,
    "h": 322.5
  },
  "luminance": 0.10086
}

Semantic roles & 50–950 ramp

primary
#951FA5
secondary
#67C55B
accent
#EB3D51
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #951FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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