#965CD9#965CD9

#965CD9 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.7% C 0.186 H 302.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#965CD9
RGBrgb(150, 92, 217)
HSLhsl(268, 62%, 61%)
HSVhsv(268, 58%, 85%)
CMYKcmyk(30.9%, 57.6%, 0%, 14.9%)
CIE-LABlab(50.86, 48.13, -55.51)
CIE-LCHlch(50.86, 73.47, 310.93°)
OKLaboklab(59.68% 0.1001 -0.157)
OKLCHoklch(59.68% 0.186 302.5)
XYZxyz(28.9263, 19.1481, 67.8042)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965CD9 #9FD95C
analogous
#5C60D9 #965CD9 #D45CD9
triadic
#965CD9 #D9965C #5CD996
tetradic
#965CD9 #D95C60 #9FD95C #5CD9D4
square
#965CD9 #D95C60 #9FD95C #5CD9D4
split-complementary
#965CD9 #D9D45C #60D95C
monochromatic
#592397 #762FC9 #965CD9 #B68EE5 #D6BFF0

Accessibility & contrast

On white

4.35
#965CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#965CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965CD9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965CD9#FFFFFF#000000##000000
##965CD91.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2378DD
Deuteranopia (green-blind)
#3D79D6
Tritanopia (blue-blind)
#897592
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #965cd9;
/* rgb */ color: rgb(150, 92, 217);
/* oklch */ color: oklch(59.7% 0.186 302.5);
Tailwind
colors: {
  custom: {
    50: '#b98ce5',
    500: '#965cd9',
    950: '#000000',
  },
}
SCSS
$custom: #965cd9;
$custom-light: #b98ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#965cd9",
  "rgb": {
    "r": 150,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 267.84,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59681,
    "c": 0.18619,
    "h": 302.5
  },
  "luminance": 0.19148
}

Semantic roles & 50–950 ramp

primary
#965CD9
secondary
#CAE0B1
accent
#CA1C79
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #965CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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