#965BDB#965BDB

#965BDB is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.7% C 0.190 H 302.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#965BDB
RGBrgb(150, 91, 219)
HSLhsl(268, 64%, 61%)
HSVhsv(268, 58%, 86%)
CMYKcmyk(31.5%, 58.4%, 0%, 14.1%)
CIE-LABlab(50.78, 49.15, -56.78)
CIE-LCHlch(50.78, 75.09, 310.88°)
OKLaboklab(59.66% 0.1013 -0.1607)
OKLCHoklch(59.66% 0.19 302.2)
XYZxyz(29.1020, 19.0806, 69.1538)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965BDB #A0DB5B
analogous
#5B60DB #965BDB #D65BDB
triadic
#965BDB #DB965B #5BDB96
tetradic
#965BDB #DB5B60 #A0DB5B #5BDBD6
square
#965BDB #DB5B60 #A0DB5B #5BDBD6
split-complementary
#965BDB #DBD65B #60DB5B
monochromatic
#59229A #762DCC #965BDB #B68DE6 #D6BFF1

Accessibility & contrast

On white

4.36
#965BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#965BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965BDB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965BDB#FFFFFF#000000##000000
##965BDB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C78DF
Deuteranopia (green-blind)
#3978D8
Tritanopia (blue-blind)
#897592
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #965bdb;
/* rgb */ color: rgb(150, 91, 219);
/* oklch */ color: oklch(59.7% 0.190 302.2);
Tailwind
colors: {
  custom: {
    50: '#b98ce7',
    500: '#965bdb',
    950: '#000000',
  },
}
SCSS
$custom: #965bdb;
$custom-light: #b98ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#965bdb",
  "rgb": {
    "r": 150,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 267.656,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59663,
    "c": 0.18996,
    "h": 302.2
  },
  "luminance": 0.19081
}

Semantic roles & 50–950 ramp

primary
#965BDB
secondary
#CBE1B1
accent
#CC1A7A
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #965BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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