#951A8F#951A8F

#951A8F is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.198 H 330.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#951A8F
RGBrgb(149, 26, 143)
HSLhsl(303, 70%, 34%)
HSVhsv(303, 83%, 58%)
CMYKcmyk(0%, 82.6%, 4%, 41.6%)
CIE-LABlab(36.20, 60.64, -35.35)
CIE-LCHlch(36.20, 70.19, 329.76°)
OKLaboklab(47.64% 0.1722 -0.0977)
OKLCHoklch(47.64% 0.198 330.4)
XYZxyz(17.7217, 9.1130, 26.8069)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A8F #1A9520
analogous
#5E1A95 #951A8F #951A52
triadic
#951A8F #8F951A #1A8F95
tetradic
#951A8F #955E1A #1A9520 #1A5295
square
#951A8F #955E1A #1A9520 #1A5295
split-complementary
#951A8F #52951A #1A955E
monochromatic
#2D082B #61115D #951A8F #C923C1 #DF4AD8

Accessibility & contrast

On white

7.44
#951A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#951A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951A8F
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A8F#FFFFFF#000000##FFFFFF
##951A8F1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014B92
Deuteranopia (green-blind)
#435B8C
Tritanopia (blue-blind)
#9B2D56
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951a8f;
/* rgb */ color: rgb(149, 26, 143);
/* oklch */ color: oklch(47.6% 0.198 330.4);
Tailwind
colors: {
  custom: {
    50: '#b868b0',
    500: '#951a8f',
    950: '#000000',
  },
}
SCSS
$custom: #951a8f;
$custom-light: #b868b0;
$custom-dark: #000000;
JSON
{
  "hex": "#951a8f",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 302.927,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47644,
    "c": 0.19802,
    "h": 330.4
  },
  "luminance": 0.09112
}

Semantic roles & 50–950 ramp

primary
#951A8F
secondary
#4AC14F
accent
#ED433B
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #951A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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