#965CCB#965CCB

#965CCB is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.8% C 0.170 H 306.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#965CCB
RGBrgb(150, 92, 203)
HSLhsl(271, 52%, 58%)
HSVhsv(271, 55%, 80%)
CMYKcmyk(26.1%, 54.7%, 0%, 20.4%)
CIE-LABlab(50.04, 44.78, -48.84)
CIE-LCHlch(50.04, 66.26, 312.51°)
OKLaboklab(58.81% 0.0998 -0.1374)
OKLCHoklch(58.81% 0.17 306)
XYZxyz(27.1820, 18.4503, 58.6176)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965CCB #91CB5C
analogous
#5E5CCB #965CCB #CB5CC9
triadic
#965CCB #CB965C #5CCB96
tetradic
#965CCB #CB5E5C #91CB5C #5CC9CB
square
#965CCB #CB5E5C #91CB5C #5CC9CB
split-complementary
#965CCB #C9CB5C #5CCB5E
monochromatic
#582A83 #7839B1 #965CCB #B48ADA #D2B9E9

Accessibility & contrast

On white

4.48
#965CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#965CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965CCB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965CCB#FFFFFF#000000##000000
##965CCB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CF
Deuteranopia (green-blind)
#4A77C8
Tritanopia (blue-blind)
#8D718B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #965ccb;
/* rgb */ color: rgb(150, 92, 203);
/* oklch */ color: oklch(58.8% 0.170 306.0);
Tailwind
colors: {
  custom: {
    50: '#b88cdb',
    500: '#965ccb',
    950: '#000000',
  },
}
SCSS
$custom: #965ccb;
$custom-light: #b88cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#965ccb",
  "rgb": {
    "r": 150,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 271.351,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58813,
    "c": 0.16983,
    "h": 306
  },
  "luminance": 0.1845
}

Semantic roles & 50–950 ramp

primary
#965CCB
secondary
#C0D8AB
accent
#DB4D91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #965CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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