#965EB5#965EB5

#965EB5 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.9% C 0.141 H 312.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#965EB5
RGBrgb(150, 94, 181)
HSLhsl(279, 37%, 54%)
HSVhsv(279, 48%, 71%)
CMYKcmyk(17.1%, 48.1%, 0%, 29%)
CIE-LABlab(49.28, 38.62, -37.33)
CIE-LCHlch(49.28, 53.71, 315.97°)
OKLaboklab(57.87% 0.095 -0.1039)
OKLCHoklch(57.87% 0.141 312.4)
XYZxyz(24.9194, 17.8262, 45.8352)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965EB5 #7DB55E
analogous
#6B5EB5 #965EB5 #B55EA9
triadic
#965EB5 #B5965E #5EB596
tetradic
#965EB5 #B56B5E #7DB55E #5EA9B5
square
#965EB5 #B56B5E #7DB55E #5EA9B5
split-complementary
#965EB5 #A9B55E #5EB56B
monochromatic
#543069 #764392 #965EB5 #B188C8 #CDB2DC

Accessibility & contrast

On white

4.60
#965EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #965EB5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965EB5#FFFFFF#000000##FFFFFF
##965EB51.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B8
Deuteranopia (green-blind)
#5A76B3
Tritanopia (blue-blind)
#936B81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #965eb5;
/* rgb */ color: rgb(150, 94, 181);
/* oklch */ color: oklch(57.9% 0.141 312.4);
Tailwind
colors: {
  custom: {
    50: '#b78dcb',
    500: '#965eb5',
    950: '#000000',
  },
}
SCSS
$custom: #965eb5;
$custom-light: #b78dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#965eb5",
  "rgb": {
    "r": 150,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 278.621,
    "s": 37.021,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57873,
    "c": 0.14078,
    "h": 312.4
  },
  "luminance": 0.17826
}

Semantic roles & 50–950 ramp

primary
#965EB5
secondary
#B2CAA5
accent
#CD5B83
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #965EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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