#965EB6#965EB6

#965EB6 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.9% C 0.142 H 312.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#965EB6
RGBrgb(150, 94, 182)
HSLhsl(278, 38%, 54%)
HSVhsv(278, 48%, 71%)
CMYKcmyk(17.6%, 48.4%, 0%, 28.6%)
CIE-LABlab(49.33, 38.84, -37.83)
CIE-LCHlch(49.33, 54.22, 315.75°)
OKLaboklab(57.93% 0.0951 -0.1054)
OKLCHoklch(57.93% 0.142 312.1)
XYZxyz(25.0224, 17.8674, 46.3775)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965EB6 #7EB65E
analogous
#6A5EB6 #965EB6 #B65EAA
triadic
#965EB6 #B6965E #5EB696
tetradic
#965EB6 #B66A5E #7EB65E #5EAAB6
square
#965EB6 #B66A5E #7EB65E #5EAAB6
split-complementary
#965EB6 #AAB65E #5EB66A
monochromatic
#55306A #764394 #965EB6 #B188C9 #CDB2DC

Accessibility & contrast

On white

4.59
#965EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#965EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #965EB6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965EB6#FFFFFF#000000##FFFFFF
##965EB61.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A72B9
Deuteranopia (green-blind)
#5A77B4
Tritanopia (blue-blind)
#936C81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #965eb6;
/* rgb */ color: rgb(150, 94, 182);
/* oklch */ color: oklch(57.9% 0.142 312.1);
Tailwind
colors: {
  custom: {
    50: '#b78dcc',
    500: '#965eb6',
    950: '#000000',
  },
}
SCSS
$custom: #965eb6;
$custom-light: #b78dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#965eb6",
  "rgb": {
    "r": 150,
    "g": 94,
    "b": 182
  },
  "hsl": {
    "h": 278.182,
    "s": 37.607,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57927,
    "c": 0.14195,
    "h": 312.1
  },
  "luminance": 0.17867
}

Semantic roles & 50–950 ramp

primary
#965EB6
secondary
#B3CBA5
accent
#CE5A84
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C13
muted
#807D82

Preview Lab

Preview with #965EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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