#954BA7#954BA7

#954BA7 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.1% C 0.157 H 319.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#954BA7
RGBrgb(149, 75, 167)
HSLhsl(288, 38%, 47%)
HSVhsv(288, 55%, 65%)
CMYKcmyk(10.8%, 55.1%, 0%, 34.5%)
CIE-LABlab(44.54, 45.53, -36.61)
CIE-LCHlch(44.54, 58.42, 321.19°)
OKLaboklab(54.1% 0.119 -0.1017)
OKLCHoklch(54.1% 0.157 319.5)
XYZxyz(21.8847, 14.2126, 38.1423)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BA7 #5DA74B
analogous
#674BA7 #954BA7 #A74B8B
triadic
#954BA7 #A7954B #4BA795
tetradic
#954BA7 #A7674B #5DA74B #4B8BA7
square
#954BA7 #A7674B #5DA74B #4B8BA7
split-complementary
#954BA7 #8BA74B #4BA767
monochromatic
#4A2553 #6F387D #954BA7 #B070BF #C79BD2

Accessibility & contrast

On white

5.47
#954BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#954BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BA7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BA7#FFFFFF#000000##FFFFFF
##954BA71.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3964AA
Deuteranopia (green-blind)
#516CA5
Tritanopia (blue-blind)
#965972
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #954ba7;
/* rgb */ color: rgb(149, 75, 167);
/* oklch */ color: oklch(54.1% 0.157 319.5);
Tailwind
colors: {
  custom: {
    50: '#b681c1',
    500: '#954ba7',
    950: '#000000',
  },
}
SCSS
$custom: #954ba7;
$custom-light: #b681c1;
$custom-dark: #000000;
JSON
{
  "hex": "#954ba7",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 288.261,
    "s": 38.017,
    "l": 47.451
  },
  "oklch": {
    "l": 0.541,
    "c": 0.15653,
    "h": 319.5
  },
  "luminance": 0.14212
}

Semantic roles & 50–950 ramp

primary
#954BA7
secondary
#99BE8F
accent
#CE5A71
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110A12
muted
#807C81

Preview Lab

Preview with #954BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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