#9C52EB#9C52EB

#9C52EB is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.2% C 0.221 H 302.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9C52EB
RGBrgb(156, 82, 235)
HSLhsl(269, 79%, 62%)
HSVhsv(269, 65%, 92%)
CMYKcmyk(33.6%, 65.1%, 0%, 7.8%)
CIE-LABlab(50.80, 58.86, -65.74)
CIE-LCHlch(50.80, 88.24, 311.84°)
OKLaboklab(60.16% 0.1185 -0.1868)
OKLCHoklch(60.16% 0.221 302.4)
XYZxyz(31.7195, 19.1006, 80.5969)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C52EB #A1EB52
analogous
#5254EB #9C52EB #E952EB
triadic
#9C52EB #EB9C52 #52EB9C
tetradic
#9C52EB #EB5254 #A1EB52 #52EBE9
square
#9C52EB #EB5254 #A1EB52 #52EBE9
split-complementary
#9C52EB #EBE952 #54EB52
monochromatic
#5F14AE #7D1BE5 #9C52EB #BB89F1 #DBC0F8

Accessibility & contrast

On white

4.36
#9C52EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9C52EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C52EB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C52EB#FFFFFF#000000##000000
##9C52EB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#1078E8
Tritanopia (blue-blind)
#8C7498
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9c52eb;
/* rgb */ color: rgb(156, 82, 235);
/* oklch */ color: oklch(60.2% 0.221 302.4);
Tailwind
colors: {
  custom: {
    50: '#be87f2',
    500: '#9c52eb',
    950: '#000000',
  },
}
SCSS
$custom: #9c52eb;
$custom-light: #be87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c52eb",
  "rgb": {
    "r": 156,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 269.02,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6016,
    "c": 0.22124,
    "h": 302.4
  },
  "luminance": 0.19101
}

Semantic roles & 50–950 ramp

primary
#9C52EB
secondary
#CDE8B0
accent
#DC0A76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C52EB

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

Preview Lab → · Contrast checker → · Palette generator →

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