#962FD3#962FD3

#962FD3 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 54.0% C 0.236 H 308.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#962FD3
RGBrgb(150, 47, 211)
HSLhsl(278, 65%, 51%)
HSVhsv(278, 78%, 83%)
CMYKcmyk(28.9%, 77.7%, 0%, 17.3%)
CIE-LABlab(43.09, 67.13, -64.62)
CIE-LCHlch(43.09, 93.18, 316.09°)
OKLaboklab(53.98% 0.1478 -0.1835)
OKLCHoklch(53.98% 0.236 308.8)
XYZxyz(25.3496, 13.2207, 62.8318)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962FD3 #6CD32F
analogous
#442FD3 #962FD3 #D32FBE
triadic
#962FD3 #D3962F #2FD396
tetradic
#962FD3 #D3442F #6CD32F #2FBED3
square
#962FD3 #D3442F #6CD32F #2FBED3
split-complementary
#962FD3 #BED32F #2FD344
monochromatic
#4F1870 #7322A2 #962FD3 #AF62DE #C994E8

Accessibility & contrast

On white

5.76
#962FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#962FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #962FD3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962FD3#FFFFFF#000000##FFFFFF
##962FD31.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #962fd3;
/* rgb */ color: rgb(150, 47, 211);
/* oklch */ color: oklch(54.0% 0.236 308.8);
Tailwind
colors: {
  custom: {
    50: '#ba73e1',
    500: '#962fd3',
    950: '#000000',
  },
}
SCSS
$custom: #962fd3;
$custom-light: #ba73e1;
$custom-dark: #000000;
JSON
{
  "hex": "#962fd3",
  "rgb": {
    "r": 150,
    "g": 47,
    "b": 211
  },
  "hsl": {
    "h": 277.683,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53982,
    "c": 0.23565,
    "h": 308.8
  },
  "luminance": 0.1322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #962FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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