#962ED3#962ED3

#962ED3 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.9% C 0.237 H 308.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#962ED3
RGBrgb(150, 46, 211)
HSLhsl(278, 65%, 50%)
HSVhsv(278, 78%, 83%)
CMYKcmyk(28.9%, 78.2%, 0%, 17.3%)
CIE-LABlab(42.98, 67.47, -64.81)
CIE-LCHlch(42.98, 93.56, 316.15°)
OKLaboklab(53.9% 0.1486 -0.1841)
OKLCHoklch(53.9% 0.237 308.9)
XYZxyz(25.3101, 13.1416, 62.8186)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962ED3 #6BD32E
analogous
#432ED3 #962ED3 #D32EBD
triadic
#962ED3 #D3962E #2ED396
tetradic
#962ED3 #D3432E #6BD32E #2EBDD3
square
#962ED3 #D3432E #6BD32E #2EBDD3
split-complementary
#962ED3 #BDD32E #2ED343
monochromatic
#4F176F #7322A2 #962ED3 #AF61DE #C993E8

Accessibility & contrast

On white

5.79
#962ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#962ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962ED3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962ED3#FFFFFF#000000##FFFFFF
##962ED31.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#8D5881
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #962ed3;
/* rgb */ color: rgb(150, 46, 211);
/* oklch */ color: oklch(53.9% 0.237 308.9);
Tailwind
colors: {
  custom: {
    50: '#bb73e1',
    500: '#962ed3',
    950: '#000000',
  },
}
SCSS
$custom: #962ed3;
$custom-light: #bb73e1;
$custom-dark: #000000;
JSON
{
  "hex": "#962ed3",
  "rgb": {
    "r": 150,
    "g": 46,
    "b": 211
  },
  "hsl": {
    "h": 277.818,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53899,
    "c": 0.23658,
    "h": 308.9
  },
  "luminance": 0.13141
}

Semantic roles & 50–950 ramp

primary
#962ED3
secondary
#A5D38A
accent
#E8407E
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #962ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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