#9652E2#9652E2

#9652E2 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.9% C 0.210 H 302.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9652E2
RGBrgb(150, 82, 226)
HSLhsl(268, 71%, 60%)
HSVhsv(268, 64%, 89%)
CMYKcmyk(33.6%, 63.7%, 0%, 11.4%)
CIE-LABlab(49.51, 55.48, -62.79)
CIE-LCHlch(49.51, 83.79, 311.46°)
OKLaboklab(58.88% 0.1115 -0.1784)
OKLCHoklch(58.88% 0.21 302)
XYZxyz(29.3192, 18.0095, 73.8683)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9652E2 #9EE252
analogous
#5256E2 #9652E2 #DE52E2
triadic
#9652E2 #E29652 #52E296
tetradic
#9652E2 #E25256 #9EE252 #52E2DE
square
#9652E2 #E25256 #9EE252 #52E2DE
split-complementary
#9652E2 #E2DE52 #56E252
monochromatic
#591B9F #7723D3 #9652E2 #B686EB #D6BBF4

Accessibility & contrast

On white

4.56
#9652E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9652E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9652E2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9652E2#FFFFFF#000000##000000
##9652E21.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#1B75DF
Tritanopia (blue-blind)
#877293
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9652e2;
/* rgb */ color: rgb(150, 82, 226);
/* oklch */ color: oklch(58.9% 0.210 302.0);
Tailwind
colors: {
  custom: {
    50: '#ba86ec',
    500: '#9652e2',
    950: '#000000',
  },
}
SCSS
$custom: #9652e2;
$custom-light: #ba86ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9652e2",
  "rgb": {
    "r": 150,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 268.333,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5888,
    "c": 0.21032,
    "h": 302
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

primary
#9652E2
secondary
#C9E3AC
accent
#D31278
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9652E2

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

Preview Lab → · Contrast checker → · Palette generator →

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