#9652CC#9652CC

#9652CC is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.4% C 0.186 H 307.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9652CC
RGBrgb(150, 82, 204)
HSLhsl(273, 54%, 56%)
HSVhsv(273, 60%, 80%)
CMYKcmyk(26.5%, 59.8%, 0%, 20%)
CIE-LABlab(48.11, 50.29, -52.50)
CIE-LCHlch(48.11, 72.70, 313.76°)
OKLaboklab(57.42% 0.1125 -0.1481)
OKLCHoklch(57.42% 0.186 307.2)
XYZxyz(26.4918, 16.8786, 58.9773)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9652CC #88CC52
analogous
#5952CC #9652CC #CC52C5
triadic
#9652CC #CC9652 #52CC96
tetradic
#9652CC #CC5952 #88CC52 #52C5CC
square
#9652CC #CC5952 #88CC52 #52C5CC
split-complementary
#9652CC #C5CC52 #52CC59
monochromatic
#57257E #7733AE #9652CC #B381DA #CFB1E8

Accessibility & contrast

On white

4.80
#9652CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9652CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9652CC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9652CC#FFFFFF#000000##FFFFFF
##9652CC1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D0
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#8E6A87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9652cc;
/* rgb */ color: rgb(150, 82, 204);
/* oklch */ color: oklch(57.4% 0.186 307.2);
Tailwind
colors: {
  custom: {
    50: '#b886dc',
    500: '#9652cc',
    950: '#000000',
  },
}
SCSS
$custom: #9652cc;
$custom-light: #b886dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9652cc",
  "rgb": {
    "r": 150,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 273.443,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57417,
    "c": 0.186,
    "h": 307.2
  },
  "luminance": 0.16878
}

Semantic roles & 50–950 ramp

primary
#9652CC
secondary
#BAD6A4
accent
#DE4A8B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9652CC

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

Preview Lab → · Contrast checker → · Palette generator →

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