#954CD9#954CD9

#954CD9 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.208 H 304.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#954CD9
RGBrgb(149, 76, 217)
HSLhsl(271, 65%, 57%)
HSVhsv(271, 65%, 85%)
CMYKcmyk(31.3%, 65%, 0%, 14.9%)
CIE-LABlab(47.71, 56.08, -60.59)
CIE-LCHlch(47.71, 82.56, 312.79°)
OKLaboklab(57.37% 0.1176 -0.1719)
OKLCHoklch(57.37% 0.208 304.4)
XYZxyz(27.5004, 16.5683, 67.3814)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CD9 #90D94C
analogous
#4F4CD9 #954CD9 #D94CD6
triadic
#954CD9 #D9954C #4CD995
tetradic
#954CD9 #D94F4C #90D94C #4CD6D9
square
#954CD9 #D94F4C #90D94C #4CD6D9
split-complementary
#954CD9 #D6D94C #4CD94F
monochromatic
#571E8D #7729BF #954CD9 #B37EE4 #D1B1EE

Accessibility & contrast

On white

4.87
#954CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#954CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CD9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CD9#FFFFFF#000000##FFFFFF
##954CD91.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#2071D6
Tritanopia (blue-blind)
#886B8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #954cd9;
/* rgb */ color: rgb(149, 76, 217);
/* oklch */ color: oklch(57.4% 0.208 304.4);
Tailwind
colors: {
  custom: {
    50: '#b982e6',
    500: '#954cd9',
    950: '#000000',
  },
}
SCSS
$custom: #954cd9;
$custom-light: #b982e6;
$custom-dark: #000000;
JSON
{
  "hex": "#954cd9",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 271.064,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57369,
    "c": 0.20824,
    "h": 304.4
  },
  "luminance": 0.16568
}

Semantic roles & 50–950 ramp

primary
#954CD9
secondary
#BFDDA4
accent
#E84091
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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