#9652D2#9652D2

#9652D2 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.8% C 0.193 H 305.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9652D2
RGBrgb(150, 82, 210)
HSLhsl(272, 59%, 57%)
HSVhsv(272, 61%, 82%)
CMYKcmyk(28.6%, 61%, 0%, 17.6%)
CIE-LABlab(48.48, 51.68, -55.35)
CIE-LCHlch(48.48, 75.73, 313.04°)
OKLaboklab(57.8% 0.1124 -0.1565)
OKLCHoklch(57.8% 0.193 305.7)
XYZxyz(27.2253, 17.1720, 62.8405)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9652D2 #8ED252
analogous
#5652D2 #9652D2 #D252CE
triadic
#9652D2 #D29652 #52D296
tetradic
#9652D2 #D25652 #8ED252 #52CED2
square
#9652D2 #D25652 #8ED252 #52CED2
split-complementary
#9652D2 #CED252 #52D256
monochromatic
#582387 #7830B7 #9652D2 #B383DF #D1B3EB

Accessibility & contrast

On white

4.74
#9652D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9652D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9652D2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9652D2#FFFFFF#000000##FFFFFF
##9652D21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B71D6
Deuteranopia (green-blind)
#3773CF
Tritanopia (blue-blind)
#8C6C8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9652d2;
/* rgb */ color: rgb(150, 82, 210);
/* oklch */ color: oklch(57.8% 0.193 305.7);
Tailwind
colors: {
  custom: {
    50: '#b986e0',
    500: '#9652d2',
    950: '#000000',
  },
}
SCSS
$custom: #9652d2;
$custom-light: #b986e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9652d2",
  "rgb": {
    "r": 150,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 271.875,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57804,
    "c": 0.19265,
    "h": 305.7
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#9652D2
secondary
#BEDAA6
accent
#E2468F
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9652D2

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

Preview Lab → · Contrast checker → · Palette generator →

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