#954DB2#954DB2

#954DB2 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.0% C 0.165 H 315.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#954DB2
RGBrgb(149, 77, 178)
HSLhsl(283, 40%, 50%)
HSVhsv(283, 57%, 70%)
CMYKcmyk(16.3%, 56.7%, 0%, 30.2%)
CIE-LABlab(45.51, 46.81, -41.55)
CIE-LCHlch(45.51, 62.59, 318.40°)
OKLaboklab(55.01% 0.1171 -0.1161)
OKLCHoklch(55.01% 0.165 315.2)
XYZxyz(23.0829, 14.9124, 43.7733)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954DB2 #6AB24D
analogous
#624DB2 #954DB2 #B24D9D
triadic
#954DB2 #B2954D #4DB295
tetradic
#954DB2 #B2624D #6AB24D #4D9DB2
square
#954DB2 #B2624D #6AB24D #4D9DB2
split-complementary
#954DB2 #9DB24D #4DB262
monochromatic
#4D285D #713B87 #954DB2 #AE78C4 #C8A2D7

Accessibility & contrast

On white

5.27
#954DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#954DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954DB2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954DB2#FFFFFF#000000##FFFFFF
##954DB21.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B5
Deuteranopia (green-blind)
#4C6EAF
Tritanopia (blue-blind)
#935E78
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #954db2;
/* rgb */ color: rgb(149, 77, 178);
/* oklch */ color: oklch(55.0% 0.165 315.2);
Tailwind
colors: {
  custom: {
    50: '#b782c9',
    500: '#954db2',
    950: '#000000',
  },
}
SCSS
$custom: #954db2;
$custom-light: #b782c9;
$custom-dark: #000000;
JSON
{
  "hex": "#954db2",
  "rgb": {
    "r": 149,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 282.772,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.5501,
    "c": 0.16488,
    "h": 315.2
  },
  "luminance": 0.14912
}

Semantic roles & 50–950 ramp

primary
#954DB2
secondary
#A4C497
accent
#CF587B
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #954DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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