#965BCB#965BCB

#965BCB is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.171 H 306.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#965BCB
RGBrgb(150, 91, 203)
HSLhsl(272, 52%, 58%)
HSVhsv(272, 55%, 80%)
CMYKcmyk(26.1%, 55.2%, 0%, 20.4%)
CIE-LABlab(49.83, 45.32, -49.17)
CIE-LCHlch(49.83, 66.87, 312.66°)
OKLaboklab(58.66% 0.1011 -0.1384)
OKLCHoklch(58.66% 0.171 306.1)
XYZxyz(27.0960, 18.2782, 58.5889)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965BCB #90CB5B
analogous
#5E5BCB #965BCB #CB5BC8
triadic
#965BCB #CB965B #5BCB96
tetradic
#965BCB #CB5E5B #90CB5B #5BC8CB
square
#965BCB #CB5E5B #90CB5B #5BC8CB
split-complementary
#965BCB #C8CB5B #5BCB5E
monochromatic
#582982 #7838B1 #965BCB #B489DA #D1B8E8

Accessibility & contrast

On white

4.51
#965BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#965BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965BCB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965BCB#FFFFFF#000000##000000
##965BCB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3475CF
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#8D708A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #965bcb;
/* rgb */ color: rgb(150, 91, 203);
/* oklch */ color: oklch(58.7% 0.171 306.1);
Tailwind
colors: {
  custom: {
    50: '#b88bdb',
    500: '#965bcb',
    950: '#000000',
  },
}
SCSS
$custom: #965bcb;
$custom-light: #b88bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#965bcb",
  "rgb": {
    "r": 150,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 271.607,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58661,
    "c": 0.17137,
    "h": 306.1
  },
  "luminance": 0.18278
}

Semantic roles & 50–950 ramp

primary
#965BCB
secondary
#C0D7AA
accent
#DB4C90
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #965BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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