#965EF7#965EF7

#965EF7 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 62.0% C 0.218 H 296.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#965EF7
RGBrgb(150, 94, 247)
HSLhsl(262, 91%, 67%)
HSVhsv(262, 62%, 97%)
CMYKcmyk(39.3%, 61.9%, 0%, 3.1%)
CIE-LABlab(53.17, 54.55, -68.65)
CIE-LCHlch(53.17, 87.69, 308.47°)
OKLaboklab(61.98% 0.0967 -0.1956)
OKLCHoklch(61.98% 0.218 296.3)
XYZxyz(33.3645, 21.2042, 90.3126)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965EF7 #BFF75E
analogous
#5E73F7 #965EF7 #E35EF7
triadic
#965EF7 #F7965E #5EF796
tetradic
#965EF7 #F75E73 #BFF75E #5EF7E3
square
#965EF7 #F75E73 #BFF75E #5EF7E3
split-complementary
#965EF7 #F7E35E #73F75E
monochromatic
#530AD0 #7024F4 #965EF7 #BC98FA #E2D3FD

Accessibility & contrast

On white

4.01
#965EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#965EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965EF7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965EF7#FFFFFF#000000##000000
##965EF71.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#7E80A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #965ef7;
/* rgb */ color: rgb(150, 94, 247);
/* oklch */ color: oklch(62.0% 0.218 296.3);
Tailwind
colors: {
  custom: {
    50: '#bb8efb',
    500: '#965ef7',
    950: '#000000',
  },
}
SCSS
$custom: #965ef7;
$custom-light: #bb8efb;
$custom-dark: #000000;
JSON
{
  "hex": "#965ef7",
  "rgb": {
    "r": 150,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 261.961,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61977,
    "c": 0.2182,
    "h": 296.3
  },
  "luminance": 0.21205
}

Semantic roles & 50–950 ramp

primary
#965EF7
secondary
#DFF1C0
accent
#E60091
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #965EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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