#962ECD#962ECD

#962ECD is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.4% C 0.231 H 310.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#962ECD
RGBrgb(150, 46, 205)
HSLhsl(279, 63%, 49%)
HSVhsv(279, 78%, 80%)
CMYKcmyk(26.8%, 77.6%, 0%, 19.6%)
CIE-LABlab(42.53, 66.23, -62.07)
CIE-LCHlch(42.53, 90.77, 316.86°)
OKLaboklab(53.45% 0.1499 -0.1761)
OKLCHoklch(53.45% 0.231 310.4)
XYZxyz(24.5720, 12.8464, 58.9309)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962ECD #65CD2E
analogous
#462ECD #962ECD #CD2EB5
triadic
#962ECD #CD962E #2ECD96
tetradic
#962ECD #CD462E #65CD2E #2EB5CD
square
#962ECD #CD462E #65CD2E #2EB5CD
split-complementary
#962ECD #B5CD2E #2ECD46
monochromatic
#4D1869 #71239B #962ECD #AF5DDB #C88FE6

Accessibility & contrast

On white

5.88
#962ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#962ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962ECD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962ECD#FFFFFF#000000##FFFFFF
##962ECD1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#8E557D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #962ecd;
/* rgb */ color: rgb(150, 46, 205);
/* oklch */ color: oklch(53.4% 0.231 310.4);
Tailwind
colors: {
  custom: {
    50: '#ba73dd',
    500: '#962ecd',
    950: '#000000',
  },
}
SCSS
$custom: #962ecd;
$custom-light: #ba73dd;
$custom-dark: #000000;
JSON
{
  "hex": "#962ecd",
  "rgb": {
    "r": 150,
    "g": 46,
    "b": 205
  },
  "hsl": {
    "h": 279.245,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53448,
    "c": 0.23122,
    "h": 310.4
  },
  "luminance": 0.12846
}

Semantic roles & 50–950 ramp

primary
#962ECD
secondary
#A0D086
accent
#E6417A
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #962ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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