#965EEC#965EEC

#965EEC is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.2% C 0.205 H 298.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#965EEC
RGBrgb(150, 94, 236)
HSLhsl(264, 79%, 65%)
HSVhsv(264, 60%, 93%)
CMYKcmyk(36.4%, 60.2%, 0%, 7.5%)
CIE-LABlab(52.45, 51.77, -63.68)
CIE-LCHlch(52.45, 82.07, 309.11°)
OKLaboklab(61.22% 0.0973 -0.181)
OKLCHoklch(61.22% 0.205 298.3)
XYZxyz(31.7169, 20.5452, 81.6352)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965EEC #B4EC5E
analogous
#5E6DEC #965EEC #DD5EEC
triadic
#965EEC #EC965E #5EEC96
tetradic
#965EEC #EC5E6D #B4EC5E #5EECDD
square
#965EEC #EC5E6D #B4EC5E #5EECDD
split-complementary
#965EEC #ECDD5E #6DEC5E
monochromatic
#5716BA #7227E6 #965EEC #BA95F2 #DDCBF9

Accessibility & contrast

On white

4.11
#965EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#965EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965EEC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965EEC#FFFFFF#000000##000000
##965EEC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#237CE9
Tritanopia (blue-blind)
#827D9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #965eec;
/* rgb */ color: rgb(150, 94, 236);
/* oklch */ color: oklch(61.2% 0.205 298.3);
Tailwind
colors: {
  custom: {
    50: '#ba8ef3',
    500: '#965eec',
    950: '#000000',
  },
}
SCSS
$custom: #965eec;
$custom-light: #ba8ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#965eec",
  "rgb": {
    "r": 150,
    "g": 94,
    "b": 236
  },
  "hsl": {
    "h": 263.662,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61221,
    "c": 0.20549,
    "h": 298.3
  },
  "luminance": 0.20546
}

Semantic roles & 50–950 ramp

primary
#965EEC
secondary
#D8EBBB
accent
#DB0A89
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #965EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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