#9A52DE#9A52DE

#9A52DE is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.207 H 304.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9A52DE
RGBrgb(154, 82, 222)
HSLhsl(271, 68%, 60%)
HSVhsv(271, 63%, 87%)
CMYKcmyk(30.6%, 63.1%, 0%, 12.9%)
CIE-LABlab(49.71, 55.39, -60.17)
CIE-LCHlch(49.71, 81.78, 312.63°)
OKLaboklab(59.05% 0.117 -0.1705)
OKLCHoklch(59.05% 0.207 304.4)
XYZxyz(29.5256, 18.1787, 71.0464)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A52DE #96DE52
analogous
#5452DE #9A52DE #DE52DC
triadic
#9A52DE #DE9A52 #52DE9A
tetradic
#9A52DE #DE5452 #96DE52 #52DCDE
square
#9A52DE #DE5452 #96DE52 #52DCDE
split-complementary
#9A52DE #DCDE52 #52DE54
monochromatic
#5D1D99 #7C27CC #9A52DE #B885E8 #D6B9F2

Accessibility & contrast

On white

4.53
#9A52DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9A52DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A52DE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A52DE#FFFFFF#000000##000000
##9A52DE1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#2C76DB
Tritanopia (blue-blind)
#8E7091
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9a52de;
/* rgb */ color: rgb(154, 82, 222);
/* oklch */ color: oklch(59.0% 0.207 304.4);
Tailwind
colors: {
  custom: {
    50: '#bc87e9',
    500: '#9a52de',
    950: '#000000',
  },
}
SCSS
$custom: #9a52de;
$custom-light: #bc87e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a52de",
  "rgb": {
    "r": 154,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 270.857,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59048,
    "c": 0.20679,
    "h": 304.4
  },
  "luminance": 0.18179
}

Semantic roles & 50–950 ramp

primary
#9A52DE
secondary
#C5E1AB
accent
#EB3D91
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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