#965CF8#965CF8

#965CF8 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.222 H 296.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#965CF8
RGBrgb(150, 92, 248)
HSLhsl(262, 92%, 67%)
HSVhsv(262, 63%, 97%)
CMYKcmyk(39.5%, 62.9%, 0%, 2.7%)
CIE-LABlab(52.86, 55.84, -69.72)
CIE-LCHlch(52.86, 89.33, 308.69°)
OKLaboklab(61.77% 0.0987 -0.1987)
OKLCHoklch(61.77% 0.222 296.4)
XYZxyz(33.3437, 20.9150, 91.0690)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965CF8 #BEF85C
analogous
#5C70F8 #965CF8 #E45CF8
triadic
#965CF8 #F8965C #5CF896
tetradic
#965CF8 #F85C70 #BEF85C #5CF8E4
square
#965CF8 #F85C70 #BEF85C #5CF8E4
split-complementary
#965CF8 #F8E45C #70F85C
monochromatic
#5309D1 #7021F5 #965CF8 #BC97FB #E2D1FD

Accessibility & contrast

On white

4.05
#965CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#965CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965CF8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965CF8#FFFFFF#000000##000000
##965CF81.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#7E80A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #965cf8;
/* rgb */ color: rgb(150, 92, 248);
/* oklch */ color: oklch(61.8% 0.222 296.4);
Tailwind
colors: {
  custom: {
    50: '#bb8dfb',
    500: '#965cf8',
    950: '#000000',
  },
}
SCSS
$custom: #965cf8;
$custom-light: #bb8dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#965cf8",
  "rgb": {
    "r": 150,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 262.308,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6177,
    "c": 0.22193,
    "h": 296.4
  },
  "luminance": 0.20916
}

Semantic roles & 50–950 ramp

primary
#965CF8
secondary
#DEF1BF
accent
#E60090
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #965CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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