#954CB2#954CB2

#954CB2 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.9% C 0.166 H 315.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#954CB2
RGBrgb(149, 76, 178)
HSLhsl(283, 40%, 50%)
HSVhsv(283, 57%, 70%)
CMYKcmyk(16.3%, 57.3%, 0%, 30.2%)
CIE-LABlab(45.32, 47.32, -41.85)
CIE-LCHlch(45.32, 63.17, 318.51°)
OKLaboklab(54.87% 0.1184 -0.117)
OKLCHoklch(54.87% 0.166 315.3)
XYZxyz(23.0135, 14.7735, 43.7501)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CB2 #69B24C
analogous
#624CB2 #954CB2 #B24C9C
triadic
#954CB2 #B2954C #4CB295
tetradic
#954CB2 #B2624C #69B24C #4C9CB2
square
#954CB2 #B2624C #69B24C #4C9CB2
split-complementary
#954CB2 #9CB24C #4CB262
monochromatic
#4D275C #713A87 #954CB2 #AE76C5 #C8A1D7

Accessibility & contrast

On white

5.31
#954CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#954CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CB2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CB2#FFFFFF#000000##FFFFFF
##954CB21.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#4B6DAF
Tritanopia (blue-blind)
#935D78
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #954cb2;
/* rgb */ color: rgb(149, 76, 178);
/* oklch */ color: oklch(54.9% 0.166 315.3);
Tailwind
colors: {
  custom: {
    50: '#b781c9',
    500: '#954cb2',
    950: '#000000',
  },
}
SCSS
$custom: #954cb2;
$custom-light: #b781c9;
$custom-dark: #000000;
JSON
{
  "hex": "#954cb2",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 282.941,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5487,
    "c": 0.16646,
    "h": 315.3
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#954CB2
secondary
#A3C496
accent
#D0587A
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #954CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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