#962FD2#962FD2

#962FD2 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.9% C 0.235 H 309.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#962FD2
RGBrgb(150, 47, 210)
HSLhsl(278, 64%, 50%)
HSVhsv(278, 78%, 82%)
CMYKcmyk(28.6%, 77.6%, 0%, 17.6%)
CIE-LABlab(43.02, 66.92, -64.17)
CIE-LCHlch(43.02, 92.72, 316.20°)
OKLaboklab(53.91% 0.148 -0.1822)
OKLCHoklch(53.91% 0.235 309.1)
XYZxyz(25.2247, 13.1707, 62.1736)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962FD2 #6BD22F
analogous
#442FD2 #962FD2 #D22FBD
triadic
#962FD2 #D2962F #2FD296
tetradic
#962FD2 #D2442F #6BD22F #2FBDD2
square
#962FD2 #D2442F #6BD22F #2FBDD2
split-complementary
#962FD2 #BDD22F #2FD244
monochromatic
#4F186F #7323A1 #962FD2 #AF61DD #C994E8

Accessibility & contrast

On white

5.78
#962FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #962FD2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962FD2#FFFFFF#000000##FFFFFF
##962FD21.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#8D5880
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #962fd2;
/* rgb */ color: rgb(150, 47, 210);
/* oklch */ color: oklch(53.9% 0.235 309.1);
Tailwind
colors: {
  custom: {
    50: '#ba73e1',
    500: '#962fd2',
    950: '#000000',
  },
}
SCSS
$custom: #962fd2;
$custom-light: #ba73e1;
$custom-dark: #000000;
JSON
{
  "hex": "#962fd2",
  "rgb": {
    "r": 150,
    "g": 47,
    "b": 210
  },
  "hsl": {
    "h": 277.914,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53906,
    "c": 0.23476,
    "h": 309.1
  },
  "luminance": 0.1317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #962FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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