#965FF5#965FF5

#965FF5 is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 62.0% C 0.215 H 296.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#965FF5
RGBrgb(150, 95, 245)
HSLhsl(262, 88%, 67%)
HSVhsv(262, 61%, 96%)
CMYKcmyk(38.8%, 61.2%, 0%, 3.9%)
CIE-LABlab(53.23, 53.52, -67.44)
CIE-LCHlch(53.23, 86.10, 308.44°)
OKLaboklab(61.98% 0.0957 -0.192)
OKLCHoklch(61.98% 0.215 296.5)
XYZxyz(33.1471, 21.2604, 88.7258)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965FF5 #BEF55F
analogous
#5F73F5 #965FF5 #E15FF5
triadic
#965FF5 #F5965F #5FF596
tetradic
#965FF5 #F55F73 #BEF55F #5FF5E1
square
#965FF5 #F55F73 #BEF55F #5FF5E1
split-complementary
#965FF5 #F5E15F #73F55F
monochromatic
#530DCD #7025F1 #965FF5 #BC99F9 #E2D2FC

Accessibility & contrast

On white

4.00
#965FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#965FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965FF5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965FF5#FFFFFF#000000##000000
##965FF51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#087DF2
Tritanopia (blue-blind)
#7F80A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #965ff5;
/* rgb */ color: rgb(150, 95, 245);
/* oklch */ color: oklch(62.0% 0.215 296.5);
Tailwind
colors: {
  custom: {
    50: '#bb8ff9',
    500: '#965ff5',
    950: '#000000',
  },
}
SCSS
$custom: #965ff5;
$custom-light: #bb8ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#965ff5",
  "rgb": {
    "r": 150,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 262,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61979,
    "c": 0.21458,
    "h": 296.5
  },
  "luminance": 0.21261
}

Semantic roles & 50–950 ramp

primary
#965FF5
secondary
#DEF0C0
accent
#E50191
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120D17
muted
#817D85

Preview Lab

Preview with #965FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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