#965FDB#965FDB

#965FDB is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.3% C 0.184 H 301.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#965FDB
RGBrgb(150, 95, 219)
HSLhsl(267, 63%, 62%)
HSVhsv(267, 57%, 86%)
CMYKcmyk(31.5%, 56.6%, 0%, 14.1%)
CIE-LABlab(51.59, 47.01, -55.48)
CIE-LCHlch(51.59, 72.72, 310.28°)
OKLaboklab(60.26% 0.0964 -0.1569)
OKLCHoklch(60.26% 0.184 301.6)
XYZxyz(29.4531, 19.7828, 69.2709)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965FDB #A4DB5F
analogous
#5F66DB #965FDB #D45FDB
triadic
#965FDB #DB965F #5FDB96
tetradic
#965FDB #DB5F66 #A4DB5F #5FDBD4
square
#965FDB #DB5F66 #A4DB5F #5FDBD4
split-complementary
#965FDB #DBD45F #66DB5F
monochromatic
#59239C #752ECE #965FDB #B791E6 #D8C3F1

Accessibility & contrast

On white

4.24
#965FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#965FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965FDB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965FDB#FFFFFF#000000##000000
##965FDB1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#297ADF
Deuteranopia (green-blind)
#3F7AD8
Tritanopia (blue-blind)
#887894
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #965fdb;
/* rgb */ color: rgb(150, 95, 219);
/* oklch */ color: oklch(60.3% 0.184 301.6);
Tailwind
colors: {
  custom: {
    50: '#b98ee7',
    500: '#965fdb',
    950: '#000000',
  },
}
SCSS
$custom: #965fdb;
$custom-light: #b98ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#965fdb",
  "rgb": {
    "r": 150,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 266.613,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.18415,
    "h": 301.6
  },
  "luminance": 0.19783
}

Semantic roles & 50–950 ramp

primary
#965FDB
secondary
#CEE2B4
accent
#CB1A7D
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #965FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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