#965BEB#965BEB

#965BEB is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.7% C 0.208 H 298.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#965BEB
RGBrgb(150, 91, 235)
HSLhsl(265, 78%, 64%)
HSVhsv(265, 61%, 92%)
CMYKcmyk(36.2%, 61.3%, 0%, 7.8%)
CIE-LABlab(51.80, 53.09, -64.17)
CIE-LCHlch(51.80, 83.29, 309.60°)
OKLaboklab(60.73% 0.1008 -0.1824)
OKLCHoklch(60.73% 0.208 298.9)
XYZxyz(31.3104, 19.9640, 80.7850)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965BEB #B0EB5B
analogous
#5B68EB #965BEB #DE5BEB
triadic
#965BEB #EB965B #5BEB96
tetradic
#965BEB #EB5B68 #B0EB5B #5BEBDE
square
#965BEB #EB5B68 #B0EB5B #5BEBDE
split-complementary
#965BEB #EBDE5B #68EB5B
monochromatic
#5716B5 #7324E4 #965BEB #B992F2 #DCC8F8

Accessibility & contrast

On white

4.21
#965BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#965BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965BEB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965BEB#FFFFFF#000000##000000
##965BEB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#1E7AE8
Tritanopia (blue-blind)
#837A9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #965beb;
/* rgb */ color: rgb(150, 91, 235);
/* oklch */ color: oklch(60.7% 0.208 298.9);
Tailwind
colors: {
  custom: {
    50: '#ba8cf2',
    500: '#965beb',
    950: '#000000',
  },
}
SCSS
$custom: #965beb;
$custom-light: #ba8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#965beb",
  "rgb": {
    "r": 150,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 264.583,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60726,
    "c": 0.2084,
    "h": 298.9
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#965BEB
secondary
#D5EAB8
accent
#DB0B85
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #965BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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