#9656DC#9656DC

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

Color values

HEX#9656DC
RGBrgb(150, 86, 220)
HSLhsl(269, 66%, 60%)
HSVhsv(269, 61%, 86%)
CMYKcmyk(31.8%, 60.9%, 0%, 13.7%)
CIE-LABlab(49.87, 52.01, -58.81)
CIE-LCHlch(49.87, 78.51, 311.48°)
OKLaboklab(59.02% 0.1073 -0.1667)
OKLCHoklch(59.02% 0.198 302.8)
XYZxyz(28.8208, 18.3069, 69.7115)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9656DC #9CDC56
analogous
#5659DC #9656DC #D956DC
triadic
#9656DC #DC9656 #56DC96
tetradic
#9656DC #DC5659 #9CDC56 #56DCD9
square
#9656DC #DC5659 #9CDC56 #56DCD9
split-complementary
#9656DC #DCD956 #59DC56
monochromatic
#592098 #772ACB #9656DC #B689E6 #D5BBF1

Accessibility & contrast

On white

4.51
#9656DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9656DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9656DC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9656DC#FFFFFF#000000##000000
##9656DC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2F76D9
Tritanopia (blue-blind)
#887291
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9656dc;
/* rgb */ color: rgb(150, 86, 220);
/* oklch */ color: oklch(59.0% 0.198 302.8);
Tailwind
colors: {
  custom: {
    50: '#b989e8',
    500: '#9656dc',
    950: '#000000',
  },
}
SCSS
$custom: #9656dc;
$custom-light: #b989e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9656dc",
  "rgb": {
    "r": 150,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 268.657,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.59016,
    "c": 0.1982,
    "h": 302.8
  },
  "luminance": 0.18307
}

Semantic roles & 50–950 ramp

primary
#9656DC
secondary
#C8E1AD
accent
#E93F98
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9656DC

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

Preview Lab → · Contrast checker → · Palette generator →

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