#965EF5#965EF5

#965EF5 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.8% C 0.216 H 296.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#965EF5
RGBrgb(150, 94, 245)
HSLhsl(262, 88%, 66%)
HSVhsv(262, 62%, 96%)
CMYKcmyk(38.8%, 61.6%, 0%, 3.9%)
CIE-LABlab(53.04, 54.05, -67.75)
CIE-LCHlch(53.04, 86.67, 308.58°)
OKLaboklab(61.84% 0.0968 -0.193)
OKLCHoklch(61.84% 0.216 296.6)
XYZxyz(33.0576, 21.0814, 88.6959)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965EF5 #BDF55E
analogous
#5E72F5 #965EF5 #E25EF5
triadic
#965EF5 #F5965E #5EF596
tetradic
#965EF5 #F55E72 #BDF55E #5EF5E2
square
#965EF5 #F55E72 #BDF55E #5EF5E2
split-complementary
#965EF5 #F5E25E #72F55E
monochromatic
#540DCC #7024F1 #965EF5 #BC98F9 #E1D1FC

Accessibility & contrast

On white

4.03
#965EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#965EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965EF5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965EF5#FFFFFF#000000##000000
##965EF51.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#017DF2
Tritanopia (blue-blind)
#7F80A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #965ef5;
/* rgb */ color: rgb(150, 94, 245);
/* oklch */ color: oklch(61.8% 0.216 296.6);
Tailwind
colors: {
  custom: {
    50: '#bb8ef9',
    500: '#965ef5',
    950: '#000000',
  },
}
SCSS
$custom: #965ef5;
$custom-light: #bb8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#965ef5",
  "rgb": {
    "r": 150,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 262.252,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61838,
    "c": 0.2159,
    "h": 296.6
  },
  "luminance": 0.21082
}

Semantic roles & 50–950 ramp

primary
#965EF5
secondary
#DEF0BF
accent
#E50190
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #965EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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