#965AE8#965AE8

#965AE8 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.206 H 299.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#965AE8
RGBrgb(150, 90, 232)
HSLhsl(265, 76%, 63%)
HSVhsv(265, 61%, 91%)
CMYKcmyk(35.3%, 61.2%, 0%, 9%)
CIE-LABlab(51.41, 52.87, -63.11)
CIE-LCHlch(51.41, 82.33, 309.95°)
OKLaboklab(60.38% 0.1021 -0.1793)
OKLCHoklch(60.38% 0.206 299.6)
XYZxyz(30.7958, 19.6223, 78.4933)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965AE8 #ACE85A
analogous
#5A65E8 #965AE8 #DD5AE8
triadic
#965AE8 #E8965A #5AE896
tetradic
#965AE8 #E85A65 #ACE85A #5AE8DD
square
#965AE8 #E85A65 #ACE85A #5AE8DD
split-complementary
#965AE8 #E8DD5A #65E85A
monochromatic
#5818AF #7424E1 #965AE8 #B890EF #DAC5F7

Accessibility & contrast

On white

4.26
#965AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#965AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965AE8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965AE8#FFFFFF#000000##000000
##965AE81.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#2279E5
Tritanopia (blue-blind)
#847999
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #965ae8;
/* rgb */ color: rgb(150, 90, 232);
/* oklch */ color: oklch(60.4% 0.206 299.6);
Tailwind
colors: {
  custom: {
    50: '#ba8bf0',
    500: '#965ae8',
    950: '#000000',
  },
}
SCSS
$custom: #965ae8;
$custom-light: #ba8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#965ae8",
  "rgb": {
    "r": 150,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 265.352,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60382,
    "c": 0.20632,
    "h": 299.6
  },
  "luminance": 0.19623
}

Semantic roles & 50–950 ramp

primary
#965AE8
secondary
#D3E8B5
accent
#D80E82
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #965AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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