#954BAA#954BAA

#954BAA is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.3% C 0.160 H 318.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#954BAA
RGBrgb(149, 75, 170)
HSLhsl(287, 39%, 48%)
HSVhsv(287, 56%, 67%)
CMYKcmyk(12.4%, 55.9%, 0%, 33.3%)
CIE-LABlab(44.70, 46.14, -38.14)
CIE-LCHlch(44.70, 59.86, 320.43°)
OKLaboklab(54.27% 0.1192 -0.1062)
OKLCHoklch(54.27% 0.16 318.3)
XYZxyz(22.1652, 14.3248, 39.6198)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BAA #60AA4B
analogous
#654BAA #954BAA #AA4B8F
triadic
#954BAA #AA954B #4BAA95
tetradic
#954BAA #AA654B #60AA4B #4B8FAA
square
#954BAA #AA654B #60AA4B #4B8FAA
split-complementary
#954BAA #8FAA4B #4BAA65
monochromatic
#4B2655 #703880 #954BAA #AF72C1 #C79CD3

Accessibility & contrast

On white

5.43
#954BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#954BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BAA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BAA#FFFFFF#000000##FFFFFF
##954BAA1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#506CA7
Tritanopia (blue-blind)
#955A73
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #954baa;
/* rgb */ color: rgb(149, 75, 170);
/* oklch */ color: oklch(54.3% 0.160 318.3);
Tailwind
colors: {
  custom: {
    50: '#b681c4',
    500: '#954baa',
    950: '#000000',
  },
}
SCSS
$custom: #954baa;
$custom-light: #b681c4;
$custom-dark: #000000;
JSON
{
  "hex": "#954baa",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 170
  },
  "hsl": {
    "h": 286.737,
    "s": 38.776,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54269,
    "c": 0.15963,
    "h": 318.3
  },
  "luminance": 0.14324
}

Semantic roles & 50–950 ramp

primary
#954BAA
secondary
#9BC091
accent
#CF5973
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A12
muted
#807C81

Preview Lab

Preview with #954BAA

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

Preview Lab → · Contrast checker → · Palette generator →

#954BAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva