#965CE7#965CE7

#965CE7 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.6% C 0.202 H 299.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#965CE7
RGBrgb(150, 92, 231)
HSLhsl(265, 74%, 63%)
HSVhsv(265, 60%, 91%)
CMYKcmyk(35.1%, 60.2%, 0%, 9.4%)
CIE-LABlab(51.73, 51.57, -62.02)
CIE-LCHlch(51.73, 80.67, 309.74°)
OKLaboklab(60.6% 0.0998 -0.1761)
OKLCHoklch(60.6% 0.202 299.5)
XYZxyz(30.8251, 19.9076, 77.8044)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965CE7 #ADE75C
analogous
#5C67E7 #965CE7 #DC5CE7
triadic
#965CE7 #E7965C #5CE796
tetradic
#965CE7 #E75C67 #ADE75C #5CE7DC
square
#965CE7 #E75C67 #ADE75C #5CE7DC
split-complementary
#965CE7 #E7DC5C #67E75C
monochromatic
#581AAF #7427DF #965CE7 #B891EF #DBC7F7

Accessibility & contrast

On white

4.22
#965CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#965CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965CE7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965CE7#FFFFFF#000000##000000
##965CE71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#297AE4
Tritanopia (blue-blind)
#847A99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #965ce7;
/* rgb */ color: rgb(150, 92, 231);
/* oklch */ color: oklch(60.6% 0.202 299.5);
Tailwind
colors: {
  custom: {
    50: '#ba8def',
    500: '#965ce7',
    950: '#000000',
  },
}
SCSS
$custom: #965ce7;
$custom-light: #ba8def;
$custom-dark: #000000;
JSON
{
  "hex": "#965ce7",
  "rgb": {
    "r": 150,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 265.036,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60597,
    "c": 0.20244,
    "h": 299.5
  },
  "luminance": 0.19908
}

Semantic roles & 50–950 ramp

primary
#965CE7
secondary
#D3E8B7
accent
#D60F83
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #965CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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