#965DEC#965DEC

#965DEC is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.1% C 0.207 H 298.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#965DEC
RGBrgb(150, 93, 236)
HSLhsl(264, 79%, 65%)
HSVhsv(264, 61%, 93%)
CMYKcmyk(36.4%, 60.6%, 0%, 7.5%)
CIE-LABlab(52.25, 52.30, -64.00)
CIE-LCHlch(52.25, 82.65, 309.26°)
OKLaboklab(61.08% 0.0985 -0.1819)
OKLCHoklch(61.08% 0.207 298.4)
XYZxyz(31.6286, 20.3685, 81.6058)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965DEC #B3EC5D
analogous
#5D6CEC #965DEC #DE5DEC
triadic
#965DEC #EC965D #5DEC96
tetradic
#965DEC #EC5D6C #B3EC5D #5DECDE
square
#965DEC #EC5D6C #B3EC5D #5DECDE
split-complementary
#965DEC #ECDE5D #6CEC5D
monochromatic
#5716B9 #7226E6 #965DEC #BA94F2 #DDCBF9

Accessibility & contrast

On white

4.14
#965DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#965DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965DEC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965DEC#FFFFFF#000000##000000
##965DEC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#217BE9
Tritanopia (blue-blind)
#827C9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #965dec;
/* rgb */ color: rgb(150, 93, 236);
/* oklch */ color: oklch(61.1% 0.207 298.4);
Tailwind
colors: {
  custom: {
    50: '#ba8df3',
    500: '#965dec',
    950: '#000000',
  },
}
SCSS
$custom: #965dec;
$custom-light: #ba8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#965dec",
  "rgb": {
    "r": 150,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 263.916,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61078,
    "c": 0.20685,
    "h": 298.4
  },
  "luminance": 0.20369
}

Semantic roles & 50–950 ramp

primary
#965DEC
secondary
#D7EBBA
accent
#DB0A88
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #965DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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