#965CEC#965CEC

#965CEC is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.9% C 0.208 H 298.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#965CEC
RGBrgb(150, 92, 236)
HSLhsl(264, 79%, 64%)
HSVhsv(264, 61%, 93%)
CMYKcmyk(36.4%, 61%, 0%, 7.5%)
CIE-LABlab(52.06, 52.82, -64.31)
CIE-LCHlch(52.06, 83.22, 309.40°)
OKLaboklab(60.94% 0.0996 -0.1828)
OKLCHoklch(60.94% 0.208 298.6)
XYZxyz(31.5414, 20.1941, 81.5767)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965CEC #B2EC5C
analogous
#5C6AEC #965CEC #DE5CEC
triadic
#965CEC #EC965C #5CEC96
tetradic
#965CEC #EC5C6A #B2EC5C #5CECDE
square
#965CEC #EC5C6A #B2EC5C #5CECDE
split-complementary
#965CEC #ECDE5C #6AEC5C
monochromatic
#5715B8 #7325E6 #965CEC #B993F2 #DDCAF9

Accessibility & contrast

On white

4.17
#965CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#965CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965CEC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965CEC#FFFFFF#000000##000000
##965CEC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#1E7BE9
Tritanopia (blue-blind)
#827B9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #965cec;
/* rgb */ color: rgb(150, 92, 236);
/* oklch */ color: oklch(60.9% 0.208 298.6);
Tailwind
colors: {
  custom: {
    50: '#ba8df3',
    500: '#965cec',
    950: '#000000',
  },
}
SCSS
$custom: #965cec;
$custom-light: #ba8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#965cec",
  "rgb": {
    "r": 150,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 264.167,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60936,
    "c": 0.2082,
    "h": 298.6
  },
  "luminance": 0.20194
}

Semantic roles & 50–950 ramp

primary
#965CEC
secondary
#D7EBB9
accent
#DB0A87
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #965CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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