#9656DB#9656DB

#9656DB is a mid, vivid violet. Relative luminance 0.183; OKLCH L 59.0% C 0.197 H 303.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9656DB
RGBrgb(150, 86, 219)
HSLhsl(269, 65%, 60%)
HSVhsv(269, 61%, 86%)
CMYKcmyk(31.5%, 60.7%, 0%, 14.1%)
CIE-LABlab(49.80, 51.77, -58.35)
CIE-LCHlch(49.80, 78.00, 311.58°)
OKLaboklab(58.95% 0.1073 -0.1653)
OKLCHoklch(58.95% 0.197 303)
XYZxyz(28.6887, 18.2541, 69.0161)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9656DB #9BDB56
analogous
#5659DB #9656DB #D856DB
triadic
#9656DB #DB9656 #56DB96
tetradic
#9656DB #DB5659 #9BDB56 #56DBD8
square
#9656DB #DB5659 #9BDB56 #56DBD8
split-complementary
#9656DB #DBD856 #59DB56
monochromatic
#592097 #772BC9 #9656DB #B588E6 #D5BBF0

Accessibility & contrast

On white

4.52
#9656DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9656DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9656DB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9656DB#FFFFFF#000000##000000
##9656DB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#3176D8
Tritanopia (blue-blind)
#897291
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9656db;
/* rgb */ color: rgb(150, 86, 219);
/* oklch */ color: oklch(59.0% 0.197 303.0);
Tailwind
colors: {
  custom: {
    50: '#b989e7',
    500: '#9656db',
    950: '#000000',
  },
}
SCSS
$custom: #9656db;
$custom-light: #b989e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9656db",
  "rgb": {
    "r": 150,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 268.872,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5895,
    "c": 0.19707,
    "h": 303
  },
  "luminance": 0.18254
}

Semantic roles & 50–950 ramp

primary
#9656DB
secondary
#C7E0AD
accent
#E84097
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9656DB

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

Preview Lab → · Contrast checker → · Palette generator →

#9656DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva