#9A52E8#9A52E8

#9A52E8 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.7% C 0.218 H 302.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9A52E8
RGBrgb(154, 82, 232)
HSLhsl(269, 77%, 62%)
HSVhsv(269, 65%, 91%)
CMYKcmyk(33.6%, 64.7%, 0%, 9%)
CIE-LABlab(50.37, 57.74, -64.76)
CIE-LCHlch(50.37, 86.77, 311.72°)
OKLaboklab(59.73% 0.1162 -0.184)
OKLCHoklch(59.73% 0.218 302.3)
XYZxyz(30.9058, 18.7307, 78.3155)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A52E8 #A0E852
analogous
#5255E8 #9A52E8 #E552E8
triadic
#9A52E8 #E89A52 #52E89A
tetradic
#9A52E8 #E85255 #A0E852 #52E8E5
square
#9A52E8 #E85255 #A0E852 #52E8E5
split-complementary
#9A52E8 #E8E552 #55E852
monochromatic
#5D16A9 #7B1EDF #9A52E8 #BA88EF #D9BEF6

Accessibility & contrast

On white

4.42
#9A52E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9A52E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A52E8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A52E8#FFFFFF#000000##000000
##9A52E81.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#1577E5
Tritanopia (blue-blind)
#8A7396
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9a52e8;
/* rgb */ color: rgb(154, 82, 232);
/* oklch */ color: oklch(59.7% 0.218 302.3);
Tailwind
colors: {
  custom: {
    50: '#bd87f0',
    500: '#9a52e8',
    950: '#000000',
  },
}
SCSS
$custom: #9a52e8;
$custom-light: #bd87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a52e8",
  "rgb": {
    "r": 154,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 268.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59732,
    "c": 0.21763,
    "h": 302.3
  },
  "luminance": 0.18731
}

Semantic roles & 50–950 ramp

primary
#9A52E8
secondary
#CCE7AF
accent
#D90D77
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A52E8

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

Preview Lab → · Contrast checker → · Palette generator →

#9A52E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva