#965DE2#965DE2

#965DE2 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.4% C 0.195 H 300.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#965DE2
RGBrgb(150, 93, 226)
HSLhsl(266, 70%, 63%)
HSVhsv(266, 59%, 89%)
CMYKcmyk(33.6%, 58.8%, 0%, 11.4%)
CIE-LABlab(51.61, 49.81, -59.40)
CIE-LCHlch(51.61, 77.52, 309.98°)
OKLaboklab(60.41% 0.0988 -0.1684)
OKLCHoklch(60.41% 0.195 300.4)
XYZxyz(30.2162, 19.8035, 74.1673)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965DE2 #A9E25D
analogous
#5D67E2 #965DE2 #D85DE2
triadic
#965DE2 #E2965D #5DE296
tetradic
#965DE2 #E25D67 #A9E25D #5DE2D8
square
#965DE2 #E25D67 #A9E25D #5DE2D8
split-complementary
#965DE2 #E2D85D #67E25D
monochromatic
#591EA7 #7429D9 #965DE2 #B891EB #D9C5F5

Accessibility & contrast

On white

4.23
#965DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#965DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965DE2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965DE2#FFFFFF#000000##000000
##965DE21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#127BE6
Deuteranopia (green-blind)
#337ADF
Tritanopia (blue-blind)
#867997
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #965de2;
/* rgb */ color: rgb(150, 93, 226);
/* oklch */ color: oklch(60.4% 0.195 300.4);
Tailwind
colors: {
  custom: {
    50: '#b98dec',
    500: '#965de2',
    950: '#000000',
  },
}
SCSS
$custom: #965de2;
$custom-light: #b98dec;
$custom-dark: #000000;
JSON
{
  "hex": "#965de2",
  "rgb": {
    "r": 150,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 265.714,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6041,
    "c": 0.19525,
    "h": 300.4
  },
  "luminance": 0.19804
}

Semantic roles & 50–950 ramp

primary
#965DE2
secondary
#D1E6B5
accent
#D21480
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #965DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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