#9A52EF#9A52EF

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

Color values

HEX#9A52EF
RGBrgb(154, 82, 239)
HSLhsl(268, 83%, 63%)
HSVhsv(268, 66%, 94%)
CMYKcmyk(35.6%, 65.7%, 0%, 6.3%)
CIE-LABlab(50.85, 59.41, -67.93)
CIE-LCHlch(50.85, 90.24, 311.18°)
OKLaboklab(60.22% 0.1155 -0.1933)
OKLCHoklch(60.22% 0.225 300.8)
XYZxyz(31.9199, 19.1364, 83.6566)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A52EF #A7EF52
analogous
#5258EF #9A52EF #E952EF
triadic
#9A52EF #EF9A52 #52EF9A
tetradic
#9A52EF #EF5258 #A7EF52 #52EFE9
square
#9A52EF #EF5258 #A7EF52 #52EFE9
split-complementary
#9A52EF #EFE952 #58EF52
monochromatic
#5C11B6 #791AEA #9A52EF #BB8AF4 #DBC2F9

Accessibility & contrast

On white

4.35
#9A52EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9A52EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A52EF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A52EF#FFFFFF#000000##000000
##9A52EF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#88769A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9a52ef;
/* rgb */ color: rgb(154, 82, 239);
/* oklch */ color: oklch(60.2% 0.225 300.8);
Tailwind
colors: {
  custom: {
    50: '#bd87f5',
    500: '#9a52ef',
    950: '#000000',
  },
}
SCSS
$custom: #9a52ef;
$custom-light: #bd87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a52ef",
  "rgb": {
    "r": 154,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 267.516,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60225,
    "c": 0.22517,
    "h": 300.8
  },
  "luminance": 0.19137
}

Semantic roles & 50–950 ramp

primary
#9A52EF
secondary
#D1EBB2
accent
#DF067C
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A52EF

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

Preview Lab → · Contrast checker → · Palette generator →

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