#954BB7#954BB7

#954BB7 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.0% C 0.173 H 313.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#954BB7
RGBrgb(149, 75, 183)
HSLhsl(281, 43%, 51%)
HSVhsv(281, 59%, 72%)
CMYKcmyk(18.6%, 59%, 0%, 28.2%)
CIE-LABlab(45.42, 48.90, -44.64)
CIE-LCHlch(45.42, 66.21, 317.61°)
OKLaboklab(55.03% 0.1199 -0.1251)
OKLCHoklch(55.03% 0.173 313.8)
XYZxyz(23.4563, 14.8413, 46.4196)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BB7 #6DB74B
analogous
#5F4BB7 #954BB7 #B74BA3
triadic
#954BB7 #B7954B #4BB795
tetradic
#954BB7 #B75F4B #6DB74B #4BA3B7
square
#954BB7 #B75F4B #6DB74B #4BA3B7
split-complementary
#954BB7 #A3B74B #4BB75F
monochromatic
#4F2761 #72388D #954BB7 #AF77C8 #C8A2DA

Accessibility & contrast

On white

5.29
#954BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#954BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BB7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BB7#FFFFFF#000000##FFFFFF
##954BB71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A67BA
Deuteranopia (green-blind)
#476DB4
Tritanopia (blue-blind)
#925E7A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #954bb7;
/* rgb */ color: rgb(149, 75, 183);
/* oklch */ color: oklch(55.0% 0.173 313.8);
Tailwind
colors: {
  custom: {
    50: '#b781cd',
    500: '#954bb7',
    950: '#000000',
  },
}
SCSS
$custom: #954bb7;
$custom-light: #b781cd;
$custom-dark: #000000;
JSON
{
  "hex": "#954bb7",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 281.111,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55029,
    "c": 0.17329,
    "h": 313.8
  },
  "luminance": 0.14841
}

Semantic roles & 50–950 ramp

primary
#954BB7
secondary
#A6C797
accent
#D3557D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B13
muted
#817C82

Preview Lab

Preview with #954BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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