#965CEA#965CEA

#965CEA is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.8% C 0.206 H 299.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#965CEA
RGBrgb(150, 92, 234)
HSLhsl(265, 77%, 64%)
HSVhsv(265, 61%, 92%)
CMYKcmyk(35.9%, 60.7%, 0%, 8.2%)
CIE-LABlab(51.93, 52.32, -63.40)
CIE-LCHlch(51.93, 82.20, 309.53°)
OKLaboklab(60.8% 0.0997 -0.1802)
OKLCHoklch(60.8% 0.206 299)
XYZxyz(31.2524, 20.0785, 80.0550)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965CEA #B0EA5C
analogous
#5C69EA #965CEA #DD5CEA
triadic
#965CEA #EA965C #5CEA96
tetradic
#965CEA #EA5C69 #B0EA5C #5CEADD
square
#965CEA #EA5C69 #B0EA5C #5CEADD
split-complementary
#965CEA #EADD5C #69EA5C
monochromatic
#5717B4 #7326E3 #965CEA #B992F1 #DCC8F8

Accessibility & contrast

On white

4.19
#965CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#965CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965CEA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965CEA#FFFFFF#000000##000000
##965CEA1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#237BE7
Tritanopia (blue-blind)
#837B9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #965cea;
/* rgb */ color: rgb(150, 92, 234);
/* oklch */ color: oklch(60.8% 0.206 299.0);
Tailwind
colors: {
  custom: {
    50: '#ba8df1',
    500: '#965cea',
    950: '#000000',
  },
}
SCSS
$custom: #965cea;
$custom-light: #ba8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#965cea",
  "rgb": {
    "r": 150,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 264.507,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.608,
    "c": 0.2059,
    "h": 299
  },
  "luminance": 0.20079
}

Semantic roles & 50–950 ramp

primary
#965CEA
secondary
#D5EAB8
accent
#D90C86
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #965CEA

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

Preview Lab → · Contrast checker → · Palette generator →

#965CEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva