#965DD2#965DD2

#965DD2 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.4% C 0.177 H 304.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#965DD2
RGBrgb(150, 93, 210)
HSLhsl(269, 57%, 59%)
HSVhsv(269, 56%, 82%)
CMYKcmyk(28.6%, 55.7%, 0%, 17.6%)
CIE-LABlab(50.65, 45.90, -51.87)
CIE-LCHlch(50.65, 69.27, 311.51°)
OKLaboklab(59.39% 0.0987 -0.1463)
OKLCHoklch(59.39% 0.177 304)
XYZxyz(28.1223, 18.9660, 63.1395)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965DD2 #99D25D
analogous
#5D5FD2 #965DD2 #D15DD2
triadic
#965DD2 #D2965D #5DD296
tetradic
#965DD2 #D25D5F #99D25D #5DD2D1
square
#965DD2 #D25D5F #99D25D #5DD2D1
split-complementary
#965DD2 #D2D15D #5FD25D
monochromatic
#59278D #7735BD #965DD2 #B58DDF #D4BDED

Accessibility & contrast

On white

4.38
#965DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#965DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965DD2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965DD2#FFFFFF#000000##000000
##965DD21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3077D6
Deuteranopia (green-blind)
#4579CF
Tritanopia (blue-blind)
#8B748F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #965dd2;
/* rgb */ color: rgb(150, 93, 210);
/* oklch */ color: oklch(59.4% 0.177 304.0);
Tailwind
colors: {
  custom: {
    50: '#b88de0',
    500: '#965dd2',
    950: '#000000',
  },
}
SCSS
$custom: #965dd2;
$custom-light: #b88de0;
$custom-dark: #000000;
JSON
{
  "hex": "#965dd2",
  "rgb": {
    "r": 150,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 269.231,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59391,
    "c": 0.17651,
    "h": 304
  },
  "luminance": 0.18966
}

Semantic roles & 50–950 ramp

primary
#965DD2
secondary
#C6DCAF
accent
#E04896
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #965DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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