#965CCC#965CCC

#965CCC is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.9% C 0.171 H 305.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#965CCC
RGBrgb(150, 92, 204)
HSLhsl(271, 52%, 58%)
HSVhsv(271, 55%, 80%)
CMYKcmyk(26.5%, 54.9%, 0%, 20%)
CIE-LABlab(50.09, 45.01, -49.32)
CIE-LCHlch(50.09, 66.77, 312.38°)
OKLaboklab(58.87% 0.0998 -0.1389)
OKLCHoklch(58.87% 0.171 305.7)
XYZxyz(27.3016, 18.4982, 59.2472)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965CCC #92CC5C
analogous
#5E5CCC #965CCC #CC5CCA
triadic
#965CCC #CC965C #5CCC96
tetradic
#965CCC #CC5E5C #92CC5C #5CCACC
square
#965CCC #CC5E5C #92CC5C #5CCACC
split-complementary
#965CCC #CACC5C #5CCC5E
monochromatic
#582984 #7838B3 #965CCC #B48BDB #D2B9E9

Accessibility & contrast

On white

4.47
#965CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#965CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965CCC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965CCC#FFFFFF#000000##000000
##965CCC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575D0
Deuteranopia (green-blind)
#4977C9
Tritanopia (blue-blind)
#8D718B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #965ccc;
/* rgb */ color: rgb(150, 92, 204);
/* oklch */ color: oklch(58.9% 0.171 305.7);
Tailwind
colors: {
  custom: {
    50: '#b88cdc',
    500: '#965ccc',
    950: '#000000',
  },
}
SCSS
$custom: #965ccc;
$custom-light: #b88cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#965ccc",
  "rgb": {
    "r": 150,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 271.071,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58873,
    "c": 0.171,
    "h": 305.7
  },
  "luminance": 0.18498
}

Semantic roles & 50–950 ramp

primary
#965CCC
secondary
#C1D8AC
accent
#DC4C91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #965CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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