#965EF2#965EF2

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

Color values

HEX#965EF2
RGBrgb(150, 94, 242)
HSLhsl(263, 85%, 66%)
HSVhsv(263, 61%, 95%)
CMYKcmyk(38%, 61.2%, 0%, 5.1%)
CIE-LABlab(52.84, 53.29, -66.40)
CIE-LCHlch(52.84, 85.14, 308.75°)
OKLaboklab(61.63% 0.097 -0.189)
OKLCHoklch(61.63% 0.212 297.2)
XYZxyz(32.6033, 20.8997, 86.3035)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965EF2 #BAF25E
analogous
#5E70F2 #965EF2 #E05EF2
triadic
#965EF2 #F2965E #5EF296
tetradic
#965EF2 #F25E70 #BAF25E #5EF2E0
square
#965EF2 #F25E70 #BAF25E #5EF2E0
split-complementary
#965EF2 #F2E05E #70F25E
monochromatic
#5510C6 #7125ED #965EF2 #BB97F7 #E0CFFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##965EF2#FFFFFF#000000##000000
##965EF21.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)
#007FF7
Deuteranopia (green-blind)
#127CEF
Tritanopia (blue-blind)
#807F9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #965ef2;
/* rgb */ color: rgb(150, 94, 242);
/* oklch */ color: oklch(61.6% 0.212 297.2);
Tailwind
colors: {
  custom: {
    50: '#ba8ef7',
    500: '#965ef2',
    950: '#000000',
  },
}
SCSS
$custom: #965ef2;
$custom-light: #ba8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#965ef2",
  "rgb": {
    "r": 150,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 262.703,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6163,
    "c": 0.21244,
    "h": 297.2
  },
  "luminance": 0.209
}

Semantic roles & 50–950 ramp

primary
#965EF2
secondary
#DCEEBD
accent
#E2048E
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #965EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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