#954ECD#954ECD

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

Color values

HEX#954ECD
RGBrgb(149, 78, 205)
HSLhsl(274, 56%, 55%)
HSVhsv(274, 62%, 80%)
CMYKcmyk(27.3%, 62%, 0%, 19.6%)
CIE-LABlab(47.30, 52.31, -54.38)
CIE-LCHlch(47.30, 75.46, 313.89°)
OKLaboklab(56.82% 0.116 -0.1537)
OKLCHoklch(56.82% 0.193 307.1)
XYZxyz(26.1360, 16.2464, 59.5048)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954ECD #86CD4E
analogous
#554ECD #954ECD #CD4EC6
triadic
#954ECD #CD954E #4ECD95
tetradic
#954ECD #CD554E #86CD4E #4EC6CD
square
#954ECD #CD554E #86CD4E #4EC6CD
split-complementary
#954ECD #C6CD4E #4ECD55
monochromatic
#56237D #7631AD #954ECD #B27EDA #CEADE8

Accessibility & contrast

On white

4.94
#954ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#954ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954ECD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954ECD#FFFFFF#000000##FFFFFF
##954ECD1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036ED1
Deuteranopia (green-blind)
#3671CA
Tritanopia (blue-blind)
#8C6886
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954ecd;
/* rgb */ color: rgb(149, 78, 205);
/* oklch */ color: oklch(56.8% 0.193 307.1);
Tailwind
colors: {
  custom: {
    50: '#b883dd',
    500: '#954ecd',
    950: '#000000',
  },
}
SCSS
$custom: #954ecd;
$custom-light: #b883dd;
$custom-dark: #000000;
JSON
{
  "hex": "#954ecd",
  "rgb": {
    "r": 149,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 273.543,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.19256,
    "h": 307.1
  },
  "luminance": 0.16246
}

Semantic roles & 50–950 ramp

primary
#954ECD
secondary
#B8D6A1
accent
#DF498B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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