#965AEB#965AEB

#965AEB is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.210 H 299.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#965AEB
RGBrgb(150, 90, 235)
HSLhsl(265, 78%, 64%)
HSVhsv(265, 62%, 92%)
CMYKcmyk(36.2%, 61.7%, 0%, 7.8%)
CIE-LABlab(51.60, 53.61, -64.48)
CIE-LCHlch(51.60, 83.86, 309.74°)
OKLaboklab(60.59% 0.1019 -0.1833)
OKLCHoklch(60.59% 0.21 299.1)
XYZxyz(31.2255, 19.7942, 80.7567)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965AEB #AFEB5A
analogous
#5A66EB #965AEB #DF5AEB
triadic
#965AEB #EB965A #5AEB96
tetradic
#965AEB #EB5A66 #AFEB5A #5AEBDF
square
#965AEB #EB5A66 #AFEB5A #5AEBDF
split-complementary
#965AEB #EBDF5A #66EB5A
monochromatic
#5816B5 #7323E4 #965AEB #B991F2 #DBC7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##965AEB#FFFFFF#000000##000000
##965AEB1.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)
#007BF0
Deuteranopia (green-blind)
#1A7AE8
Tritanopia (blue-blind)
#837A9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #965aeb;
/* rgb */ color: rgb(150, 90, 235);
/* oklch */ color: oklch(60.6% 0.210 299.1);
Tailwind
colors: {
  custom: {
    50: '#ba8cf2',
    500: '#965aeb',
    950: '#000000',
  },
}
SCSS
$custom: #965aeb;
$custom-light: #ba8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#965aeb",
  "rgb": {
    "r": 150,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 264.828,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60587,
    "c": 0.20975,
    "h": 299.1
  },
  "luminance": 0.19795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #965AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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