#954CD1#954CD1

#954CD1 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.200 H 306.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#954CD1
RGBrgb(149, 76, 209)
HSLhsl(273, 59%, 56%)
HSVhsv(273, 64%, 82%)
CMYKcmyk(28.7%, 63.6%, 0%, 18%)
CIE-LABlab(47.19, 54.23, -56.86)
CIE-LCHlch(47.19, 78.57, 313.64°)
OKLaboklab(56.82% 0.1182 -0.1609)
OKLCHoklch(56.82% 0.2 306.3)
XYZxyz(26.4850, 16.1621, 62.0336)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CD1 #88D14C
analogous
#524CD1 #954CD1 #D14CCB
triadic
#954CD1 #D1954C #4CD195
tetradic
#954CD1 #D1524C #88D14C #4CCBD1
square
#954CD1 #D1524C #88D14C #4CCBD1
split-complementary
#954CD1 #CBD14C #4CD152
monochromatic
#562181 #762EB2 #954CD1 #B27DDE #CFADEA

Accessibility & contrast

On white

4.96
#954CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#954CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CD1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CD1#FFFFFF#000000##FFFFFF
##954CD11.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#2E70CE
Tritanopia (blue-blind)
#8B6888
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954cd1;
/* rgb */ color: rgb(149, 76, 209);
/* oklch */ color: oklch(56.8% 0.200 306.3);
Tailwind
colors: {
  custom: {
    50: '#b882e0',
    500: '#954cd1',
    950: '#000000',
  },
}
SCSS
$custom: #954cd1;
$custom-light: #b882e0;
$custom-dark: #000000;
JSON
{
  "hex": "#954cd1",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 272.932,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56824,
    "c": 0.19965,
    "h": 306.3
  },
  "luminance": 0.16162
}

Semantic roles & 50–950 ramp

primary
#954CD1
secondary
#BAD8A1
accent
#E2468C
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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