#9A52CE#9A52CE

#9A52CE is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.0% C 0.189 H 308.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9A52CE
RGBrgb(154, 82, 206)
HSLhsl(275, 56%, 56%)
HSVhsv(275, 60%, 81%)
CMYKcmyk(25.2%, 60.2%, 0%, 19.2%)
CIE-LABlab(48.71, 51.70, -52.65)
CIE-LCHlch(48.71, 73.79, 314.47°)
OKLaboklab(58% 0.1176 -0.1485)
OKLCHoklch(58% 0.189 308.4)
XYZxyz(27.4821, 17.3613, 60.2839)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A52CE #86CE52
analogous
#5C52CE #9A52CE #CE52C4
triadic
#9A52CE #CE9A52 #52CE9A
tetradic
#9A52CE #CE5C52 #86CE52 #52C4CE
square
#9A52CE #CE5C52 #86CE52 #52C4CE
split-complementary
#9A52CE #C4CE52 #52CE5C
monochromatic
#5A2581 #7C32B1 #9A52CE #B682DC #D2B1E9

Accessibility & contrast

On white

4.70
#9A52CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9A52CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A52CE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A52CE#FFFFFF#000000##FFFFFF
##9A52CE1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C71D2
Deuteranopia (green-blind)
#4075CB
Tritanopia (blue-blind)
#926A88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a52ce;
/* rgb */ color: rgb(154, 82, 206);
/* oklch */ color: oklch(58.0% 0.189 308.4);
Tailwind
colors: {
  custom: {
    50: '#bb86de',
    500: '#9a52ce',
    950: '#000000',
  },
}
SCSS
$custom: #9a52ce;
$custom-light: #bb86de;
$custom-dark: #000000;
JSON
{
  "hex": "#9a52ce",
  "rgb": {
    "r": 154,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 274.839,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58003,
    "c": 0.18938,
    "h": 308.4
  },
  "luminance": 0.17361
}

Semantic roles & 50–950 ramp

primary
#9A52CE
secondary
#BAD7A4
accent
#DF4988
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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