#965AEC#965AEC

#965AEC is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.211 H 298.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#965AEC
RGBrgb(150, 90, 236)
HSLhsl(265, 79%, 64%)
HSVhsv(265, 62%, 93%)
CMYKcmyk(36.4%, 61.9%, 0%, 7.5%)
CIE-LABlab(51.67, 53.86, -64.93)
CIE-LCHlch(51.67, 84.36, 309.67°)
OKLaboklab(60.66% 0.1018 -0.1847)
OKLCHoklch(60.66% 0.211 298.9)
XYZxyz(31.3704, 19.8521, 81.5197)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965AEC #B0EC5A
analogous
#5A67EC #965AEC #DF5AEC
triadic
#965AEC #EC965A #5AEC96
tetradic
#965AEC #EC5A67 #B0EC5A #5AECDF
square
#965AEC #EC5A67 #B0EC5A #5AECDF
split-complementary
#965AEC #ECDF5A #67EC5A
monochromatic
#5715B7 #7323E6 #965AEC #B991F2 #DCC8F9

Accessibility & contrast

On white

4.23
#965AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#965AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965AEC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965AEC#FFFFFF#000000##000000
##965AEC1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#177AE9
Tritanopia (blue-blind)
#837A9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #965aec;
/* rgb */ color: rgb(150, 90, 236);
/* oklch */ color: oklch(60.7% 0.211 298.9);
Tailwind
colors: {
  custom: {
    50: '#ba8cf3',
    500: '#965aec',
    950: '#000000',
  },
}
SCSS
$custom: #965aec;
$custom-light: #ba8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#965aec",
  "rgb": {
    "r": 150,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 264.658,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60655,
    "c": 0.21088,
    "h": 298.9
  },
  "luminance": 0.19852
}

Semantic roles & 50–950 ramp

primary
#965AEC
secondary
#D5EBB7
accent
#DC0A85
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #965AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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