#965FEA#965FEA

#965FEA is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.2% C 0.202 H 298.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#965FEA
RGBrgb(150, 95, 234)
HSLhsl(264, 77%, 65%)
HSVhsv(264, 59%, 92%)
CMYKcmyk(35.9%, 59.4%, 0%, 8.2%)
CIE-LABlab(52.52, 50.74, -62.44)
CIE-LCHlch(52.52, 80.46, 309.10°)
OKLaboklab(61.23% 0.0962 -0.1774)
OKLCHoklch(61.23% 0.202 298.5)
XYZxyz(31.5175, 20.6086, 80.1433)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965FEA #B3EA5F
analogous
#5F6EEA #965FEA #DC5FEA
triadic
#965FEA #EA965F #5FEA96
tetradic
#965FEA #EA5F6E #B3EA5F #5FEADC
square
#965FEA #EA5F6E #B3EA5F #5FEADC
split-complementary
#965FEA #EADC5F #6EEA5F
monochromatic
#5718B7 #7229E3 #965FEA #BA95F1 #DDCBF8

Accessibility & contrast

On white

4.10
#965FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#965FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965FEA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965FEA#FFFFFF#000000##000000
##965FEA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#2A7CE7
Tritanopia (blue-blind)
#837D9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #965fea;
/* rgb */ color: rgb(150, 95, 234);
/* oklch */ color: oklch(61.2% 0.202 298.5);
Tailwind
colors: {
  custom: {
    50: '#ba8ff1',
    500: '#965fea',
    950: '#000000',
  },
}
SCSS
$custom: #965fea;
$custom-light: #ba8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#965fea",
  "rgb": {
    "r": 150,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 263.741,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61231,
    "c": 0.20179,
    "h": 298.5
  },
  "luminance": 0.20609
}

Semantic roles & 50–950 ramp

primary
#965FEA
secondary
#D7EABA
accent
#D90C88
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #965FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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