#965FEC#965FEC

#965FEC is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.4% C 0.204 H 298.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#965FEC
RGBrgb(150, 95, 236)
HSLhsl(263, 79%, 65%)
HSVhsv(263, 60%, 93%)
CMYKcmyk(36.4%, 59.7%, 0%, 7.5%)
CIE-LABlab(52.65, 51.24, -63.36)
CIE-LCHlch(52.65, 81.49, 308.97°)
OKLaboklab(61.37% 0.0962 -0.18)
OKLCHoklch(61.37% 0.204 298.1)
XYZxyz(31.8064, 20.7242, 81.6651)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965FEC #B5EC5F
analogous
#5F6FEC #965FEC #DC5FEC
triadic
#965FEC #EC965F #5FEC96
tetradic
#965FEC #EC5F6F #B5EC5F #5FECDC
square
#965FEC #EC5F6F #B5EC5F #5FECDC
split-complementary
#965FEC #ECDC5F #6FEC5F
monochromatic
#5616BA #7228E6 #965FEC #BA96F2 #DECCF9

Accessibility & contrast

On white

4.08
#965FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#965FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965FEC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965FEC#FFFFFF#000000##000000
##965FEC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#267CE9
Tritanopia (blue-blind)
#827D9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #965fec;
/* rgb */ color: rgb(150, 95, 236);
/* oklch */ color: oklch(61.4% 0.204 298.1);
Tailwind
colors: {
  custom: {
    50: '#ba8ff3',
    500: '#965fec',
    950: '#000000',
  },
}
SCSS
$custom: #965fec;
$custom-light: #ba8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#965fec",
  "rgb": {
    "r": 150,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 263.404,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61365,
    "c": 0.20412,
    "h": 298.1
  },
  "luminance": 0.20725
}

Semantic roles & 50–950 ramp

primary
#965FEC
secondary
#D9EBBB
accent
#DB0A8A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #965FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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