#954BD9#954BD9

#954BD9 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.210 H 304.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#954BD9
RGBrgb(149, 75, 217)
HSLhsl(271, 65%, 57%)
HSVhsv(271, 65%, 85%)
CMYKcmyk(31.3%, 65.4%, 0%, 14.9%)
CIE-LABlab(47.54, 56.57, -60.87)
CIE-LCHlch(47.54, 83.10, 312.90°)
OKLaboklab(57.24% 0.1187 -0.1727)
OKLCHoklch(57.24% 0.21 304.5)
XYZxyz(27.4321, 16.4316, 67.3586)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954BD9 #8FD94B
analogous
#4E4BD9 #954BD9 #D94BD6
triadic
#954BD9 #D9954B #4BD995
tetradic
#954BD9 #D94E4B #8FD94B #4BD6D9
square
#954BD9 #D94E4B #8FD94B #4BD6D9
split-complementary
#954BD9 #D6D94B #4BD94E
monochromatic
#571E8C #7728BF #954BD9 #B37EE4 #D1B0EE

Accessibility & contrast

On white

4.90
#954BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#954BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954BD9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954BD9#FFFFFF#000000##FFFFFF
##954BD91.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#1E71D6
Tritanopia (blue-blind)
#886A8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #954bd9;
/* rgb */ color: rgb(149, 75, 217);
/* oklch */ color: oklch(57.2% 0.210 304.5);
Tailwind
colors: {
  custom: {
    50: '#b982e6',
    500: '#954bd9',
    950: '#000000',
  },
}
SCSS
$custom: #954bd9;
$custom-light: #b982e6;
$custom-dark: #000000;
JSON
{
  "hex": "#954bd9",
  "rgb": {
    "r": 149,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 271.268,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57243,
    "c": 0.20954,
    "h": 304.5
  },
  "luminance": 0.16431
}

Semantic roles & 50–950 ramp

primary
#954BD9
secondary
#BFDDA3
accent
#E84090
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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