#965FEB#965FEB

#965FEB is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.3% C 0.203 H 298.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#965FEB
RGBrgb(150, 95, 235)
HSLhsl(264, 78%, 65%)
HSVhsv(264, 60%, 92%)
CMYKcmyk(36.2%, 59.6%, 0%, 7.8%)
CIE-LABlab(52.58, 50.99, -62.90)
CIE-LCHlch(52.58, 80.97, 309.03°)
OKLaboklab(61.3% 0.0962 -0.1787)
OKLCHoklch(61.3% 0.203 298.3)
XYZxyz(31.6615, 20.6662, 80.9020)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965FEB #B4EB5F
analogous
#5F6EEB #965FEB #DC5FEB
triadic
#965FEB #EB965F #5FEB96
tetradic
#965FEB #EB5F6E #B4EB5F #5FEBDC
square
#965FEB #EB5F6E #B4EB5F #5FEBDC
split-complementary
#965FEB #EBDC5F #6EEB5F
monochromatic
#5617B9 #7229E4 #965FEB #BA95F2 #DDCCF9

Accessibility & contrast

On white

4.09
#965FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#965FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965FEB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965FEB#FFFFFF#000000##000000
##965FEB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#287CE8
Tritanopia (blue-blind)
#837D9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #965feb;
/* rgb */ color: rgb(150, 95, 235);
/* oklch */ color: oklch(61.3% 0.203 298.3);
Tailwind
colors: {
  custom: {
    50: '#ba8ff2',
    500: '#965feb',
    950: '#000000',
  },
}
SCSS
$custom: #965feb;
$custom-light: #ba8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#965feb",
  "rgb": {
    "r": 150,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 263.571,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61298,
    "c": 0.20295,
    "h": 298.3
  },
  "luminance": 0.20667
}

Semantic roles & 50–950 ramp

primary
#965FEB
secondary
#D8EBBB
accent
#DA0B89
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #965FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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