#962DD3#962DD3

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

Color values

HEX#962DD3
RGBrgb(150, 45, 211)
HSLhsl(278, 65%, 50%)
HSVhsv(278, 79%, 83%)
CMYKcmyk(28.9%, 78.7%, 0%, 17.3%)
CIE-LABlab(42.86, 67.81, -65.00)
CIE-LCHlch(42.86, 93.93, 316.21°)
OKLaboklab(53.82% 0.1494 -0.1846)
OKLCHoklch(53.82% 0.238 309)
XYZxyz(25.2715, 13.0644, 62.8058)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962DD3 #6AD32D
analogous
#432DD3 #962DD3 #D32DBD
triadic
#962DD3 #D3962D #2DD396
tetradic
#962DD3 #D3432D #6AD32D #2DBDD3
square
#962DD3 #D3432D #6AD32D #2DBDD3
split-complementary
#962DD3 #BDD32D #2DD343
monochromatic
#4E176E #7222A1 #962DD3 #AF60DE #C992E8

Accessibility & contrast

On white

5.81
#962DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#962DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962DD3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962DD3#FFFFFF#000000##FFFFFF
##962DD31.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#8D5880
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #962dd3;
/* rgb */ color: rgb(150, 45, 211);
/* oklch */ color: oklch(53.8% 0.237 309.0);
Tailwind
colors: {
  custom: {
    50: '#bb73e1',
    500: '#962dd3',
    950: '#000000',
  },
}
SCSS
$custom: #962dd3;
$custom-light: #bb73e1;
$custom-dark: #000000;
JSON
{
  "hex": "#962dd3",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 211
  },
  "hsl": {
    "h": 277.952,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53818,
    "c": 0.2375,
    "h": 309
  },
  "luminance": 0.13064
}

Semantic roles & 50–950 ramp

primary
#962DD3
secondary
#A4D389
accent
#E83F7E
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #962DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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