#965CD7#965CD7

#965CD7 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.184 H 303.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#965CD7
RGBrgb(150, 92, 215)
HSLhsl(268, 61%, 60%)
HSVhsv(268, 57%, 84%)
CMYKcmyk(30.2%, 57.2%, 0%, 15.7%)
CIE-LABlab(50.74, 47.65, -54.57)
CIE-LCHlch(50.74, 72.44, 311.13°)
OKLaboklab(59.55% 0.1001 -0.1542)
OKLCHoklch(59.55% 0.184 303)
XYZxyz(28.6678, 19.0446, 66.4425)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965CD7 #9DD75C
analogous
#5C5FD7 #965CD7 #D45CD7
triadic
#965CD7 #D7965C #5CD796
tetradic
#965CD7 #D75C5F #9DD75C #5CD7D4
square
#965CD7 #D75C5F #9DD75C #5CD7D4
split-complementary
#965CD7 #D7D45C #5FD75C
monochromatic
#592494 #7730C5 #965CD7 #B68DE3 #D5BEEF

Accessibility & contrast

On white

4.37
#965CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#965CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965CD7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965CD7#FFFFFF#000000##000000
##965CD71.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2778DB
Deuteranopia (green-blind)
#3F79D4
Tritanopia (blue-blind)
#8A7491
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #965cd7;
/* rgb */ color: rgb(150, 92, 215);
/* oklch */ color: oklch(59.6% 0.184 303.0);
Tailwind
colors: {
  custom: {
    50: '#b88ce4',
    500: '#965cd7',
    950: '#000000',
  },
}
SCSS
$custom: #965cd7;
$custom-light: #b88ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#965cd7",
  "rgb": {
    "r": 150,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 268.293,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59554,
    "c": 0.18386,
    "h": 303
  },
  "luminance": 0.19045
}

Semantic roles & 50–950 ramp

primary
#965CD7
secondary
#C9DFB0
accent
#C81D78
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #965CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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