#A752EA#A752EA

#A752EA is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.3% C 0.223 H 306.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A752EA
RGBrgb(167, 82, 234)
HSLhsl(274, 78%, 62%)
HSVhsv(274, 65%, 92%)
CMYKcmyk(28.6%, 65%, 0%, 8.2%)
CIE-LABlab(52.05, 60.92, -63.10)
CIE-LCHlch(52.05, 87.70, 313.99°)
OKLaboklab(61.32% 0.1328 -0.1787)
OKLCHoklch(61.32% 0.223 306.6)
XYZxyz(33.8018, 20.1909, 79.9425)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A752EA #95EA52
analogous
#5B52EA #A752EA #EA52E1
triadic
#A752EA #EAA752 #52EAA7
tetradic
#A752EA #EA5B52 #95EA52 #52E1EA
square
#A752EA #EA5B52 #95EA52 #52E1EA
split-complementary
#A752EA #E1EA52 #52EA5B
monochromatic
#6A15AD #8B1CE3 #A752EA #C389F1 #DFBFF7

Accessibility & contrast

On white

4.17
#A752EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A752EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A752EA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A752EA#FFFFFF#000000##000000
##A752EA1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#2E7DE7
Tritanopia (blue-blind)
#9C7297
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a752ea;
/* rgb */ color: rgb(167, 82, 234);
/* oklch */ color: oklch(61.3% 0.223 306.6);
Tailwind
colors: {
  custom: {
    50: '#c688f2',
    500: '#a752ea',
    950: '#000000',
  },
}
SCSS
$custom: #a752ea;
$custom-light: #c688f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a752ea",
  "rgb": {
    "r": 167,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 273.553,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61324,
    "c": 0.22267,
    "h": 306.6
  },
  "luminance": 0.20191
}

Semantic roles & 50–950 ramp

primary
#A752EA
secondary
#C9E8B0
accent
#DB0B66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A752EA

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

Preview Lab → · Contrast checker → · Palette generator →

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