#965EF4#965EF4

#965EF4 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.8% C 0.215 H 296.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#965EF4
RGBrgb(150, 94, 244)
HSLhsl(262, 87%, 66%)
HSVhsv(262, 61%, 96%)
CMYKcmyk(38.5%, 61.5%, 0%, 4.3%)
CIE-LABlab(52.97, 53.79, -67.30)
CIE-LCHlch(52.97, 86.16, 308.63°)
OKLaboklab(61.77% 0.0969 -0.1916)
OKLCHoklch(61.77% 0.215 296.8)
XYZxyz(32.9053, 21.0205, 87.8941)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965EF4 #BCF45E
analogous
#5E71F4 #965EF4 #E15EF4
triadic
#965EF4 #F4965E #5EF496
tetradic
#965EF4 #F45E71 #BCF45E #5EF4E1
square
#965EF4 #F45E71 #BCF45E #5EF4E1
split-complementary
#965EF4 #F4E15E #71F45E
monochromatic
#540ECA #7125F0 #965EF4 #BB97F8 #E1D1FC

Accessibility & contrast

On white

4.04
#965EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#965EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965EF4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965EF4#FFFFFF#000000##000000
##965EF41.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF9
Deuteranopia (green-blind)
#077DF1
Tritanopia (blue-blind)
#7F7FA0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #965ef4;
/* rgb */ color: rgb(150, 94, 244);
/* oklch */ color: oklch(61.8% 0.215 296.8);
Tailwind
colors: {
  custom: {
    50: '#bb8ef9',
    500: '#965ef4',
    950: '#000000',
  },
}
SCSS
$custom: #965ef4;
$custom-light: #bb8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#965ef4",
  "rgb": {
    "r": 150,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 262.4,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61769,
    "c": 0.21475,
    "h": 296.8
  },
  "luminance": 0.21021
}

Semantic roles & 50–950 ramp

primary
#965EF4
secondary
#DDEFBE
accent
#E4028F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #965EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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