#954CB3#954CB3

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

Color values

HEX#954CB3
RGBrgb(149, 76, 179)
HSLhsl(283, 40%, 50%)
HSVhsv(283, 58%, 70%)
CMYKcmyk(16.8%, 57.5%, 0%, 29.8%)
CIE-LABlab(45.38, 47.53, -42.35)
CIE-LCHlch(45.38, 63.66, 318.30°)
OKLaboklab(54.93% 0.1185 -0.1184)
OKLCHoklch(54.93% 0.168 315)
XYZxyz(23.1143, 14.8138, 44.2808)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CB3 #6AB34C
analogous
#614CB3 #954CB3 #B34C9E
triadic
#954CB3 #B3954C #4CB395
tetradic
#954CB3 #B3614C #6AB34C #4C9EB3
square
#954CB3 #B3614C #6AB34C #4C9EB3
split-complementary
#954CB3 #9EB34C #4CB361
monochromatic
#4D285D #713A88 #954CB3 #AE77C5 #C8A2D7

Accessibility & contrast

On white

5.30
#954CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#954CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CB3
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CB3#FFFFFF#000000##FFFFFF
##954CB31.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B6
Deuteranopia (green-blind)
#4B6DB0
Tritanopia (blue-blind)
#935D78
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #954cb3;
/* rgb */ color: rgb(149, 76, 179);
/* oklch */ color: oklch(54.9% 0.168 315.0);
Tailwind
colors: {
  custom: {
    50: '#b781ca',
    500: '#954cb3',
    950: '#000000',
  },
}
SCSS
$custom: #954cb3;
$custom-light: #b781ca;
$custom-dark: #000000;
JSON
{
  "hex": "#954cb3",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 282.524,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.54928,
    "c": 0.16751,
    "h": 315
  },
  "luminance": 0.14813
}

Semantic roles & 50–950 ramp

primary
#954CB3
secondary
#A4C496
accent
#D0587B
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #954CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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