#964BEC#964BEC

#964BEC is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.7% C 0.230 H 300.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#964BEC
RGBrgb(150, 75, 236)
HSLhsl(268, 81%, 61%)
HSVhsv(268, 68%, 93%)
CMYKcmyk(36.4%, 68.2%, 0%, 7.5%)
CIE-LABlab(48.97, 61.25, -69.30)
CIE-LCHlch(48.97, 92.49, 311.47°)
OKLaboklab(58.72% 0.1177 -0.1975)
OKLCHoklch(58.72% 0.23 300.8)
XYZxyz(30.2304, 17.5721, 81.1397)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964BEC #A1EC4B
analogous
#4B50EC #964BEC #E64BEC
triadic
#964BEC #EC964B #4BEC96
tetradic
#964BEC #EC4B50 #A1EC4B #4BECE6
square
#964BEC #EC4B50 #A1EC4B #4BECE6
split-complementary
#964BEC #ECE64B #50EC4B
monochromatic
#5912AB #7618E2 #964BEC #B682F2 #D7BAF8

Accessibility & contrast

On white

4.65
#964BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#964BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #964BEC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964BEC#FFFFFF#000000##FFFFFF
##964BEC1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#837196
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #964bec;
/* rgb */ color: rgb(150, 75, 236);
/* oklch */ color: oklch(58.7% 0.230 300.8);
Tailwind
colors: {
  custom: {
    50: '#bb83f3',
    500: '#964bec',
    950: '#000000',
  },
}
SCSS
$custom: #964bec;
$custom-light: #bb83f3;
$custom-dark: #000000;
JSON
{
  "hex": "#964bec",
  "rgb": {
    "r": 150,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 267.95,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58715,
    "c": 0.22987,
    "h": 300.8
  },
  "luminance": 0.17572
}

Semantic roles & 50–950 ramp

primary
#964BEC
secondary
#CBE8AB
accent
#DD087A
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #964BEC

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

Preview Lab → · Contrast checker → · Palette generator →

#964BEC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva