#964ECD#964ECD

#964ECD is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.9% C 0.193 H 307.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#964ECD
RGBrgb(150, 78, 205)
HSLhsl(274, 56%, 55%)
HSVhsv(274, 62%, 80%)
CMYKcmyk(26.8%, 62%, 0%, 19.6%)
CIE-LABlab(47.42, 52.54, -54.18)
CIE-LCHlch(47.42, 75.47, 314.12°)
OKLaboklab(56.94% 0.1173 -0.153)
OKLCHoklch(56.94% 0.193 307.5)
XYZxyz(26.3192, 16.3409, 59.5134)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964ECD #85CD4E
analogous
#564ECD #964ECD #CD4EC4
triadic
#964ECD #CD964E #4ECD96
tetradic
#964ECD #CD564E #85CD4E #4EC4CD
square
#964ECD #CD564E #85CD4E #4EC4CD
split-complementary
#964ECD #C4CD4E #4ECD56
monochromatic
#56237D #7731AD #964ECD #B27EDA #CFADE8

Accessibility & contrast

On white

4.92
#964ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#964ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964ECD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964ECD#FFFFFF#000000##FFFFFF
##964ECD1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056ED1
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#8D6886
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #964ecd;
/* rgb */ color: rgb(150, 78, 205);
/* oklch */ color: oklch(56.9% 0.193 307.5);
Tailwind
colors: {
  custom: {
    50: '#b983dd',
    500: '#964ecd',
    950: '#000000',
  },
}
SCSS
$custom: #964ecd;
$custom-light: #b983dd;
$custom-dark: #000000;
JSON
{
  "hex": "#964ecd",
  "rgb": {
    "r": 150,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 274.016,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56937,
    "c": 0.19284,
    "h": 307.5
  },
  "luminance": 0.16341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #964ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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