#9652D8#9652D8

#9652D8 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.2% C 0.199 H 304.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9652D8
RGBrgb(150, 82, 216)
HSLhsl(270, 63%, 58%)
HSVhsv(270, 62%, 85%)
CMYKcmyk(30.6%, 62%, 0%, 15.3%)
CIE-LABlab(48.85, 53.09, -58.17)
CIE-LCHlch(48.85, 78.75, 312.39°)
OKLaboklab(58.2% 0.1121 -0.1648)
OKLCHoklch(58.2% 0.199 304.2)
XYZxyz(27.9869, 17.4766, 66.8513)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9652D8 #94D852
analogous
#5352D8 #9652D8 #D852D7
triadic
#9652D8 #D89652 #52D896
tetradic
#9652D8 #D85352 #94D852 #52D7D8
square
#9652D8 #D85352 #94D852 #52D7D8
split-complementary
#9652D8 #D7D852 #52D853
monochromatic
#59208F #782CC1 #9652D8 #B484E3 #D3B6EF

Accessibility & contrast

On white

4.67
#9652D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9652D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9652D8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9652D8#FFFFFF#000000##FFFFFF
##9652D81.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)
#0072DC
Deuteranopia (green-blind)
#2F74D5
Tritanopia (blue-blind)
#8A6E8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9652d8;
/* rgb */ color: rgb(150, 82, 216);
/* oklch */ color: oklch(58.2% 0.199 304.2);
Tailwind
colors: {
  custom: {
    50: '#b986e5',
    500: '#9652d8',
    950: '#000000',
  },
}
SCSS
$custom: #9652d8;
$custom-light: #b986e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9652d8",
  "rgb": {
    "r": 150,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 270.448,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58201,
    "c": 0.19928,
    "h": 304.2
  },
  "luminance": 0.17476
}

Semantic roles & 50–950 ramp

primary
#9652D8
secondary
#C3DDA8
accent
#E64293
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9652D8

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

Preview Lab → · Contrast checker → · Palette generator →

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