#A52DEA#A52DEA

#A52DEA is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 57.5% C 0.261 H 308.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A52DEA
RGBrgb(165, 45, 234)
HSLhsl(278, 82%, 55%)
HSVhsv(278, 81%, 92%)
CMYKcmyk(29.5%, 80.8%, 0%, 8.2%)
CIE-LABlab(46.73, 74.89, -71.73)
CIE-LCHlch(46.73, 103.70, 316.24°)
OKLaboklab(57.5% 0.1635 -0.2039)
OKLCHoklch(57.5% 0.261 308.7)
XYZxyz(31.3036, 15.8172, 79.2299)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52DEA #72EA2D
analogous
#462DEA #A52DEA #EA2DD1
triadic
#A52DEA #EAA52D #2DEAA5
tetradic
#A52DEA #EA462D #72EA2D #2DD1EA
square
#A52DEA #EA462D #72EA2D #2DD1EA
split-complementary
#A52DEA #D1EA2D #2DEA46
monochromatic
#600E8E #8514C6 #A52DEA #BD65F0 #D59CF5

Accessibility & contrast

On white

5.04
#A52DEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A52DEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52DEA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52DEA#FFFFFF#000000##FFFFFF
##A52DEA1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEF
Deuteranopia (green-blind)
#0070E6
Tritanopia (blue-blind)
#9A608E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a52dea;
/* rgb */ color: rgb(165, 45, 234);
/* oklch */ color: oklch(57.5% 0.261 308.7);
Tailwind
colors: {
  custom: {
    50: '#c676f2',
    500: '#a52dea',
    950: '#000000',
  },
}
SCSS
$custom: #a52dea;
$custom-light: #c676f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a52dea",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 234
  },
  "hsl": {
    "h": 278.095,
    "s": 81.818,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57502,
    "c": 0.26135,
    "h": 308.7
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#A52DEA
secondary
#AFE192
accent
#F83079
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A17
muted
#827C85

Preview Lab

Preview with #A52DEA

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

Preview Lab → · Contrast checker → · Palette generator →

#A52DEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva