#965AE6#965AE6

#965AE6 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.2% C 0.204 H 300.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#965AE6
RGBrgb(150, 90, 230)
HSLhsl(266, 74%, 63%)
HSVhsv(266, 61%, 90%)
CMYKcmyk(34.8%, 60.9%, 0%, 9.8%)
CIE-LABlab(51.28, 52.37, -62.19)
CIE-LCHlch(51.28, 81.31, 310.10°)
OKLaboklab(60.25% 0.1022 -0.1766)
OKLCHoklch(60.25% 0.204 300)
XYZxyz(30.5133, 19.5093, 77.0057)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965AE6 #AAE65A
analogous
#5A64E6 #965AE6 #DC5AE6
triadic
#965AE6 #E6965A #5AE696
tetradic
#965AE6 #E65A64 #AAE65A #5AE6DC
square
#965AE6 #E65A64 #AAE65A #5AE6DC
split-complementary
#965AE6 #E6DC5A #64E65A
monochromatic
#581AAC #7425DE #965AE6 #B88FEE #DAC4F6

Accessibility & contrast

On white

4.28
#965AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#965AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965AE6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965AE6#FFFFFF#000000##000000
##965AE61.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#2679E3
Tritanopia (blue-blind)
#857898
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #965ae6;
/* rgb */ color: rgb(150, 90, 230);
/* oklch */ color: oklch(60.2% 0.204 300.0);
Tailwind
colors: {
  custom: {
    50: '#ba8bef',
    500: '#965ae6',
    950: '#000000',
  },
}
SCSS
$custom: #965ae6;
$custom-light: #ba8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#965ae6",
  "rgb": {
    "r": 150,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 265.714,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60246,
    "c": 0.20404,
    "h": 300
  },
  "luminance": 0.1951
}

Semantic roles & 50–950 ramp

primary
#965AE6
secondary
#D2E7B5
accent
#D61081
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #965AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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