#954DCD#954DCD

#954DCD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.7% C 0.194 H 307.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#954DCD
RGBrgb(149, 77, 205)
HSLhsl(274, 56%, 55%)
HSVhsv(274, 62%, 80%)
CMYKcmyk(27.3%, 62.4%, 0%, 19.6%)
CIE-LABlab(47.11, 52.81, -54.68)
CIE-LCHlch(47.11, 76.02, 314.00°)
OKLaboklab(56.69% 0.1172 -0.1545)
OKLCHoklch(56.69% 0.194 307.2)
XYZxyz(26.0655, 16.1054, 59.4813)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954DCD #85CD4D
analogous
#554DCD #954DCD #CD4DC5
triadic
#954DCD #CD954D #4DCD95
tetradic
#954DCD #CD554D #85CD4D #4DC5CD
square
#954DCD #CD554D #85CD4D #4DC5CD
split-complementary
#954DCD #C5CD4D #4DCD55
monochromatic
#55237D #7630AC #954DCD #B17DDA #CEADE8

Accessibility & contrast

On white

4.98
#954DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#954DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954DCD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954DCD#FFFFFF#000000##FFFFFF
##954DCD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#3570CA
Tritanopia (blue-blind)
#8C6786
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954dcd;
/* rgb */ color: rgb(149, 77, 205);
/* oklch */ color: oklch(56.7% 0.194 307.2);
Tailwind
colors: {
  custom: {
    50: '#b883dd',
    500: '#954dcd',
    950: '#000000',
  },
}
SCSS
$custom: #954dcd;
$custom-light: #b883dd;
$custom-dark: #000000;
JSON
{
  "hex": "#954dcd",
  "rgb": {
    "r": 149,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 273.75,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56688,
    "c": 0.19396,
    "h": 307.2
  },
  "luminance": 0.16105
}

Semantic roles & 50–950 ramp

primary
#954DCD
secondary
#B8D6A0
accent
#DF488A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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