#954EB5#954EB5

#954EB5 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.3% C 0.167 H 314.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#954EB5
RGBrgb(149, 78, 181)
HSLhsl(281, 41%, 51%)
HSVhsv(281, 57%, 71%)
CMYKcmyk(17.7%, 56.9%, 0%, 29%)
CIE-LABlab(45.87, 46.94, -42.74)
CIE-LCHlch(45.87, 63.48, 317.68°)
OKLaboklab(55.33% 0.1159 -0.1196)
OKLCHoklch(55.33% 0.167 314.1)
XYZxyz(23.4579, 15.1752, 45.4005)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954EB5 #6EB54E
analogous
#614EB5 #954EB5 #B54EA1
triadic
#954EB5 #B5954E #4EB595
tetradic
#954EB5 #B5614E #6EB54E #4EA1B5
square
#954EB5 #B5614E #6EB54E #4EA1B5
split-complementary
#954EB5 #A1B54E #4EB561
monochromatic
#4F2860 #723A8B #954EB5 #AF79C7 #C9A4D9

Accessibility & contrast

On white

5.20
#954EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#954EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954EB5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954EB5#FFFFFF#000000##FFFFFF
##954EB51.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3169B8
Deuteranopia (green-blind)
#4B6EB2
Tritanopia (blue-blind)
#925F7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #954eb5;
/* rgb */ color: rgb(149, 78, 181);
/* oklch */ color: oklch(55.3% 0.167 314.1);
Tailwind
colors: {
  custom: {
    50: '#b783cc',
    500: '#954eb5',
    950: '#000000',
  },
}
SCSS
$custom: #954eb5;
$custom-light: #b783cc;
$custom-dark: #000000;
JSON
{
  "hex": "#954eb5",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 281.359,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55327,
    "c": 0.16653,
    "h": 314.1
  },
  "luminance": 0.15175
}

Semantic roles & 50–950 ramp

primary
#954EB5
secondary
#A7C699
accent
#D1577D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B13
muted
#817C82

Preview Lab

Preview with #954EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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