#965DEB#965DEB

#965DEB is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.0% C 0.206 H 298.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#965DEB
RGBrgb(150, 93, 235)
HSLhsl(264, 78%, 64%)
HSVhsv(264, 60%, 92%)
CMYKcmyk(36.2%, 60.4%, 0%, 7.8%)
CIE-LABlab(52.19, 52.05, -63.54)
CIE-LCHlch(52.19, 82.14, 309.32°)
OKLaboklab(61.01% 0.0985 -0.1806)
OKLCHoklch(61.01% 0.206 298.6)
XYZxyz(31.4837, 20.3105, 80.8428)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965DEB #B2EB5D
analogous
#5D6BEB #965DEB #DD5DEB
triadic
#965DEB #EB965D #5DEB96
tetradic
#965DEB #EB5D6B #B2EB5D #5DEBDD
square
#965DEB #EB5D6B #B2EB5D #5DEBDD
split-complementary
#965DEB #EBDD5D #6BEB5D
monochromatic
#5717B7 #7327E4 #965DEB #B993F2 #DDCAF8

Accessibility & contrast

On white

4.15
#965DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#965DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965DEB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965DEB#FFFFFF#000000##000000
##965DEB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#237BE8
Tritanopia (blue-blind)
#837C9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #965deb;
/* rgb */ color: rgb(150, 93, 235);
/* oklch */ color: oklch(61.0% 0.206 298.6);
Tailwind
colors: {
  custom: {
    50: '#ba8df2',
    500: '#965deb',
    950: '#000000',
  },
}
SCSS
$custom: #965deb;
$custom-light: #ba8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#965deb",
  "rgb": {
    "r": 150,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 264.085,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6101,
    "c": 0.2057,
    "h": 298.6
  },
  "luminance": 0.20311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #965DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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