#9B52E8#9B52E8

#9B52E8 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.8% C 0.218 H 302.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9B52E8
RGBrgb(155, 82, 232)
HSLhsl(269, 77%, 62%)
HSVhsv(269, 65%, 91%)
CMYKcmyk(33.2%, 64.7%, 0%, 9%)
CIE-LABlab(50.49, 57.95, -64.57)
CIE-LCHlch(50.49, 86.76, 311.91°)
OKLaboklab(59.84% 0.1175 -0.1834)
OKLCHoklch(59.84% 0.218 302.6)
XYZxyz(31.0970, 18.8293, 78.3244)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B52E8 #9FE852
analogous
#5254E8 #9B52E8 #E652E8
triadic
#9B52E8 #E89B52 #52E89B
tetradic
#9B52E8 #E85254 #9FE852 #52E8E6
square
#9B52E8 #E85254 #9FE852 #52E8E6
split-complementary
#9B52E8 #E8E652 #54E852
monochromatic
#5E16A9 #7C1EDF #9B52E8 #BA88EF #D9BEF6

Accessibility & contrast

On white

4.41
#9B52E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9B52E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B52E8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B52E8#FFFFFF#000000##000000
##9B52E81.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b52e8;
/* rgb */ color: rgb(155, 82, 232);
/* oklch */ color: oklch(59.8% 0.218 302.6);
Tailwind
colors: {
  custom: {
    50: '#be87f0',
    500: '#9b52e8',
    950: '#000000',
  },
}
SCSS
$custom: #9b52e8;
$custom-light: #be87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b52e8",
  "rgb": {
    "r": 155,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 269.2,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59842,
    "c": 0.21782,
    "h": 302.6
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B52E8

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

Preview Lab → · Contrast checker → · Palette generator →

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