#9656CC#9656CC

#9656CC is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.180 H 306.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9656CC
RGBrgb(150, 86, 204)
HSLhsl(273, 54%, 57%)
HSVhsv(273, 58%, 80%)
CMYKcmyk(26.5%, 57.8%, 0%, 20%)
CIE-LABlab(48.88, 48.21, -51.26)
CIE-LCHlch(48.88, 70.37, 313.24°)
OKLaboklab(57.98% 0.1075 -0.1445)
OKLCHoklch(57.98% 0.18 306.6)
XYZxyz(26.8023, 17.4995, 59.0808)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9656CC #8CCC56
analogous
#5B56CC #9656CC #CC56C7
triadic
#9656CC #CC9656 #56CC96
tetradic
#9656CC #CC5B56 #8CCC56 #56C7CC
square
#9656CC #CC5B56 #8CCC56 #56C7CC
split-complementary
#9656CC #C7CC56 #56CC5B
monochromatic
#582781 #7835B0 #9656CC #B385DA #D0B4E8

Accessibility & contrast

On white

4.67
#9656CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9656CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9656CC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9656CC#FFFFFF#000000##FFFFFF
##9656CC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2772D0
Deuteranopia (green-blind)
#4275C9
Tritanopia (blue-blind)
#8D6D89
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9656cc;
/* rgb */ color: rgb(150, 86, 204);
/* oklch */ color: oklch(58.0% 0.180 306.6);
Tailwind
colors: {
  custom: {
    50: '#b888dc',
    500: '#9656cc',
    950: '#000000',
  },
}
SCSS
$custom: #9656cc;
$custom-light: #b888dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9656cc",
  "rgb": {
    "r": 150,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 272.542,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57984,
    "c": 0.1801,
    "h": 306.6
  },
  "luminance": 0.17499
}

Semantic roles & 50–950 ramp

primary
#9656CC
secondary
#BDD7A7
accent
#DD4B8E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9656CC

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

Preview Lab → · Contrast checker → · Palette generator →

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