#965AE7#965AE7

#965AE7 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.205 H 299.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#965AE7
RGBrgb(150, 90, 231)
HSLhsl(266, 75%, 63%)
HSVhsv(266, 61%, 91%)
CMYKcmyk(35.1%, 61%, 0%, 9.4%)
CIE-LABlab(51.34, 52.62, -62.65)
CIE-LCHlch(51.34, 81.82, 310.03°)
OKLaboklab(60.31% 0.1021 -0.178)
OKLCHoklch(60.31% 0.205 299.8)
XYZxyz(30.6541, 19.5656, 77.7474)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965AE7 #ABE75A
analogous
#5A64E7 #965AE7 #DC5AE7
triadic
#965AE7 #E7965A #5AE796
tetradic
#965AE7 #E75A64 #ABE75A #5AE7DC
square
#965AE7 #E75A64 #ABE75A #5AE7DC
split-complementary
#965AE7 #E7DC5A #64E75A
monochromatic
#5819AD #7425DF #965AE7 #B88FEF #DAC5F7

Accessibility & contrast

On white

4.27
#965AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#965AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965AE7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965AE7#FFFFFF#000000##000000
##965AE71.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#2479E4
Tritanopia (blue-blind)
#847898
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #965ae7;
/* rgb */ color: rgb(150, 90, 231);
/* oklch */ color: oklch(60.3% 0.205 299.8);
Tailwind
colors: {
  custom: {
    50: '#ba8bef',
    500: '#965ae7',
    950: '#000000',
  },
}
SCSS
$custom: #965ae7;
$custom-light: #ba8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#965ae7",
  "rgb": {
    "r": 150,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 265.532,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60314,
    "c": 0.20518,
    "h": 299.8
  },
  "luminance": 0.19566
}

Semantic roles & 50–950 ramp

primary
#965AE7
secondary
#D2E8B5
accent
#D70F82
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #965AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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