#954CCD#954CCD

#954CCD is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.6% C 0.195 H 307.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#954CCD
RGBrgb(149, 76, 205)
HSLhsl(274, 56%, 55%)
HSVhsv(274, 63%, 80%)
CMYKcmyk(27.3%, 62.9%, 0%, 19.6%)
CIE-LABlab(46.93, 53.31, -54.97)
CIE-LCHlch(46.93, 76.57, 314.12°)
OKLaboklab(56.56% 0.1184 -0.1554)
OKLCHoklch(56.56% 0.195 307.3)
XYZxyz(25.9960, 15.9665, 59.4581)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CCD #84CD4C
analogous
#544CCD #954CCD #CD4CC5
triadic
#954CCD #CD954C #4CCD95
tetradic
#954CCD #CD544C #84CD4C #4CC5CD
square
#954CCD #CD544C #84CD4C #4CC5CD
split-complementary
#954CCD #C5CD4C #4CCD54
monochromatic
#55237C #7630AC #954CCD #B17CDA #CEACE8

Accessibility & contrast

On white

5.01
#954CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#954CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CCD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CCD#FFFFFF#000000##FFFFFF
##954CCD1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#3370CA
Tritanopia (blue-blind)
#8C6686
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #954ccd;
/* rgb */ color: rgb(149, 76, 205);
/* oklch */ color: oklch(56.6% 0.195 307.3);
Tailwind
colors: {
  custom: {
    50: '#b882dd',
    500: '#954ccd',
    950: '#000000',
  },
}
SCSS
$custom: #954ccd;
$custom-light: #b882dd;
$custom-dark: #000000;
JSON
{
  "hex": "#954ccd",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 273.953,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56557,
    "c": 0.19535,
    "h": 307.3
  },
  "luminance": 0.15966
}

Semantic roles & 50–950 ramp

primary
#954CCD
secondary
#B7D59F
accent
#E0488A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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