#951FA1#951FA1

#951FA1 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.208 H 323.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#951FA1
RGBrgb(149, 31, 161)
HSLhsl(294, 68%, 38%)
HSVhsv(294, 81%, 63%)
CMYKcmyk(7.5%, 80.7%, 0%, 36.9%)
CIE-LABlab(37.74, 62.32, -43.84)
CIE-LCHlch(37.74, 76.20, 324.88°)
OKLaboklab(49.09% 0.1675 -0.1225)
OKLCHoklch(49.09% 0.208 323.8)
XYZxyz(19.3169, 9.9440, 34.6132)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951FA1 #2BA11F
analogous
#541FA1 #951FA1 #A11F6C
triadic
#951FA1 #A1951F #1FA195
tetradic
#951FA1 #A1541F #2BA11F #1F6CA1
square
#951FA1 #A1541F #2BA11F #1F6CA1
split-complementary
#951FA1 #6CA11F #1FA154
monochromatic
#360B3A #66156E #951FA1 #C429D4 #D35BDF

Accessibility & contrast

On white

7.03
#951FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#951FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951FA1
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951FA1#FFFFFF#000000##FFFFFF
##951FA11.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#395D9E
Tritanopia (blue-blind)
#983A61
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #951fa1;
/* rgb */ color: rgb(149, 31, 161);
/* oklch */ color: oklch(49.1% 0.208 323.8);
Tailwind
colors: {
  custom: {
    50: '#b86bbd',
    500: '#951fa1',
    950: '#000000',
  },
}
SCSS
$custom: #951fa1;
$custom-light: #b86bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#951fa1",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 294.462,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49087,
    "c": 0.20752,
    "h": 323.8
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#951FA1
secondary
#62C458
accent
#EB3D4D
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #951FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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