#9656C8#9656C8

#9656C8 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.7% C 0.176 H 307.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9656C8
RGBrgb(150, 86, 200)
HSLhsl(274, 51%, 56%)
HSVhsv(274, 57%, 78%)
CMYKcmyk(25%, 57%, 0%, 21.6%)
CIE-LABlab(48.65, 47.28, -49.34)
CIE-LCHlch(48.65, 68.33, 313.78°)
OKLaboklab(57.74% 0.1074 -0.1389)
OKLCHoklch(57.74% 0.176 307.7)
XYZxyz(26.3287, 17.3101, 56.5866)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9656C8 #88C856
analogous
#5D56C8 #9656C8 #C856C1
triadic
#9656C8 #C89656 #56C896
tetradic
#9656C8 #C85D56 #88C856 #56C1C8
square
#9656C8 #C85D56 #88C856 #56C1C8
split-complementary
#9656C8 #C1C856 #56C85D
monochromatic
#57287B #7737AA #9656C8 #B384D7 #CFB2E6

Accessibility & contrast

On white

4.71
#9656C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9656C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9656C8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9656C8#FFFFFF#000000##FFFFFF
##9656C81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D71CC
Deuteranopia (green-blind)
#4674C5
Tritanopia (blue-blind)
#8E6B87
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9656c8;
/* rgb */ color: rgb(150, 86, 200);
/* oklch */ color: oklch(57.7% 0.176 307.7);
Tailwind
colors: {
  custom: {
    50: '#b888d9',
    500: '#9656c8',
    950: '#000000',
  },
}
SCSS
$custom: #9656c8;
$custom-light: #b888d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9656c8",
  "rgb": {
    "r": 150,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 273.684,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57736,
    "c": 0.17557,
    "h": 307.7
  },
  "luminance": 0.1731
}

Semantic roles & 50–950 ramp

primary
#9656C8
secondary
#BAD4A5
accent
#DA4D8B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #9656C8

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

Preview Lab → · Contrast checker → · Palette generator →

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