#951C94#951C94

#951C94 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.1% C 0.200 H 328.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#951C94
RGBrgb(149, 28, 148)
HSLhsl(300, 68%, 35%)
HSVhsv(300, 81%, 58%)
CMYKcmyk(0%, 81.2%, 0.7%, 41.6%)
CIE-LABlab(36.67, 60.94, -37.67)
CIE-LCHlch(36.67, 71.64, 328.28°)
OKLaboklab(48.07% 0.1707 -0.1045)
OKLCHoklch(48.07% 0.2 328.5)
XYZxyz(18.1548, 9.3596, 28.8616)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C94 #1C951D
analogous
#5A1C95 #951C94 #951C58
triadic
#951C94 #94951C #1C9495
tetradic
#951C94 #955A1C #1C951D #1C5895
square
#951C94 #955A1C #1C951D #1C5895
split-complementary
#951C94 #58951C #1C955A
monochromatic
#2E092E #611261 #951C94 #C926C7 #DE4EDC

Accessibility & contrast

On white

7.31
#951C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#951C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C94
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C94#FFFFFF#000000##FFFFFF
##951C941.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#415C91
Tritanopia (blue-blind)
#9A3159
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #951c94;
/* rgb */ color: rgb(149, 28, 148);
/* oklch */ color: oklch(48.1% 0.200 328.5);
Tailwind
colors: {
  custom: {
    50: '#b869b4',
    500: '#951c94',
    950: '#000000',
  },
}
SCSS
$custom: #951c94;
$custom-light: #b869b4;
$custom-dark: #000000;
JSON
{
  "hex": "#951c94",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 300.496,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4807,
    "c": 0.20009,
    "h": 328.5
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#951C94
secondary
#4DC04E
accent
#EB3E3D
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951C94

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

Preview Lab → · Contrast checker → · Palette generator →

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