#9656E8#9656E8

#9656E8 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.8% C 0.212 H 300.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9656E8
RGBrgb(150, 86, 232)
HSLhsl(266, 76%, 62%)
HSVhsv(266, 63%, 91%)
CMYKcmyk(35.3%, 62.9%, 0%, 9%)
CIE-LABlab(50.65, 54.92, -64.34)
CIE-LCHlch(50.65, 84.59, 310.48°)
OKLaboklab(59.83% 0.1066 -0.1829)
OKLCHoklch(59.83% 0.212 300.2)
XYZxyz(30.4674, 18.9656, 78.3839)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9656E8 #A8E856
analogous
#565FE8 #9656E8 #DF56E8
triadic
#9656E8 #E89656 #56E896
tetradic
#9656E8 #E8565F #A8E856 #56E8DF
square
#9656E8 #E8565F #A8E856 #56E8DF
split-complementary
#9656E8 #E8DF56 #5FE856
monochromatic
#5917AC #7520E1 #9656E8 #B78CEF #D9C2F7

Accessibility & contrast

On white

4.38
#9656E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9656E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9656E8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9656E8#FFFFFF#000000##000000
##9656E81.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#1678E5
Tritanopia (blue-blind)
#847697
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9656e8;
/* rgb */ color: rgb(150, 86, 232);
/* oklch */ color: oklch(59.8% 0.212 300.2);
Tailwind
colors: {
  custom: {
    50: '#ba89f0',
    500: '#9656e8',
    950: '#000000',
  },
}
SCSS
$custom: #9656e8;
$custom-light: #ba89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9656e8",
  "rgb": {
    "r": 150,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 266.301,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5983,
    "c": 0.21168,
    "h": 300.2
  },
  "luminance": 0.18966
}

Semantic roles & 50–950 ramp

primary
#9656E8
secondary
#D0E8B2
accent
#D80D7F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9656E8

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

Preview Lab → · Contrast checker → · Palette generator →

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