#965FEF#965FEF

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

Color values

HEX#965FEF
RGBrgb(150, 95, 239)
HSLhsl(263, 82%, 65%)
HSVhsv(263, 60%, 94%)
CMYKcmyk(37.2%, 60.3%, 0%, 6.3%)
CIE-LABlab(52.84, 52.00, -64.73)
CIE-LCHlch(52.84, 83.03, 308.78°)
OKLaboklab(61.57% 0.096 -0.1841)
OKLCHoklch(61.57% 0.208 297.6)
XYZxyz(32.2459, 20.9000, 83.9798)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965FEF #B8EF5F
analogous
#5F70EF #965FEF #DE5FEF
triadic
#965FEF #EF965F #5FEF96
tetradic
#965FEF #EF5F70 #B8EF5F #5FEFDE
square
#965FEF #EF5F70 #B8EF5F #5FEFDE
split-complementary
#965FEF #EFDE5F #70EF5F
monochromatic
#5513C0 #7127E9 #965FEF #BB97F5 #DFCEFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##965FEF#FFFFFF#000000##000000
##965FEF1.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)
#007FF4
Deuteranopia (green-blind)
#1F7CEC
Tritanopia (blue-blind)
#817E9E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #965fef;
/* rgb */ color: rgb(150, 95, 239);
/* oklch */ color: oklch(61.6% 0.208 297.6);
Tailwind
colors: {
  custom: {
    50: '#ba8ff5',
    500: '#965fef',
    950: '#000000',
  },
}
SCSS
$custom: #965fef;
$custom-light: #ba8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#965fef",
  "rgb": {
    "r": 150,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 262.917,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61568,
    "c": 0.20762,
    "h": 297.6
  },
  "luminance": 0.209
}

Semantic roles & 50–950 ramp

primary
#965FEF
secondary
#DBEDBD
accent
#DE078C
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #965FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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