#9A52CF#9A52CF

#9A52CF is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.1% C 0.190 H 308.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9A52CF
RGBrgb(154, 82, 207)
HSLhsl(275, 57%, 57%)
HSVhsv(275, 60%, 81%)
CMYKcmyk(25.6%, 60.4%, 0%, 18.8%)
CIE-LABlab(48.77, 51.92, -53.13)
CIE-LCHlch(48.77, 74.29, 314.34°)
OKLaboklab(58.07% 0.1176 -0.1499)
OKLCHoklch(58.07% 0.19 308.1)
XYZxyz(27.6039, 17.4100, 60.9257)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A52CF #87CF52
analogous
#5C52CF #9A52CF #CF52C6
triadic
#9A52CF #CF9A52 #52CF9A
tetradic
#9A52CF #CF5C52 #87CF52 #52C6CF
square
#9A52CF #CF5C52 #87CF52 #52C6CF
split-complementary
#9A52CF #C6CF52 #52CF5C
monochromatic
#5A2482 #7C31B2 #9A52CF #B682DC #D2B2EA

Accessibility & contrast

On white

4.69
#9A52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9A52CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A52CF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A52CF#FFFFFF#000000##FFFFFF
##9A52CF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A71D3
Deuteranopia (green-blind)
#3F75CC
Tritanopia (blue-blind)
#926A89
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a52cf;
/* rgb */ color: rgb(154, 82, 207);
/* oklch */ color: oklch(58.1% 0.190 308.1);
Tailwind
colors: {
  custom: {
    50: '#bb86de',
    500: '#9a52cf',
    950: '#000000',
  },
}
SCSS
$custom: #9a52cf;
$custom-light: #bb86de;
$custom-dark: #000000;
JSON
{
  "hex": "#9a52cf",
  "rgb": {
    "r": 154,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 274.56,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58066,
    "c": 0.19047,
    "h": 308.1
  },
  "luminance": 0.1741
}

Semantic roles & 50–950 ramp

primary
#9A52CF
secondary
#BBD8A5
accent
#E04888
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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