#9652BD#9652BD

#9652BD is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.5% C 0.169 H 311.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9652BD
RGBrgb(150, 82, 189)
HSLhsl(278, 45%, 53%)
HSVhsv(278, 57%, 74%)
CMYKcmyk(20.6%, 56.6%, 0%, 25.9%)
CIE-LABlab(47.23, 46.88, -45.24)
CIE-LCHlch(47.23, 65.15, 316.02°)
OKLaboklab(56.49% 0.1123 -0.1269)
OKLCHoklch(56.49% 0.169 311.5)
XYZxyz(24.7786, 16.1933, 49.9546)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9652BD #79BD52
analogous
#6052BD #9652BD #BD52AE
triadic
#9652BD #BD9652 #52BD96
tetradic
#9652BD #BD6052 #79BD52 #52AEBD
square
#9652BD #BD6052 #79BD52 #52AEBD
split-complementary
#9652BD #AEBD52 #52BD60
monochromatic
#53296C #763A98 #9652BD #B17ECE #CCABDF

Accessibility & contrast

On white

4.95
#9652BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9652BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9652BD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9652BD#FFFFFF#000000##FFFFFF
##9652BD1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316DC0
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#926580
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9652bd;
/* rgb */ color: rgb(150, 82, 189);
/* oklch */ color: oklch(56.5% 0.169 311.5);
Tailwind
colors: {
  custom: {
    50: '#b885d1',
    500: '#9652bd',
    950: '#000000',
  },
}
SCSS
$custom: #9652bd;
$custom-light: #b885d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9652bd",
  "rgb": {
    "r": 150,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 278.131,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.16941,
    "h": 311.5
  },
  "luminance": 0.16193
}

Semantic roles & 50–950 ramp

primary
#9652BD
secondary
#AFCC9E
accent
#D45382
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9652BD

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

Preview Lab → · Contrast checker → · Palette generator →

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