#A452CF#A452CF

#A452CF is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.2% C 0.194 H 312.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A452CF
RGBrgb(164, 82, 207)
HSLhsl(279, 57%, 57%)
HSVhsv(279, 60%, 81%)
CMYKcmyk(20.8%, 60.4%, 0%, 18.8%)
CIE-LABlab(50.02, 54.31, -51.07)
CIE-LCHlch(50.02, 74.55, 316.76°)
OKLaboklab(59.24% 0.1302 -0.1435)
OKLCHoklch(59.24% 0.194 312.2)
XYZxyz(29.5876, 18.4328, 61.0187)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A452CF #7DCF52
analogous
#6652CF #A452CF #CF52BC
triadic
#A452CF #CFA452 #52CFA4
tetradic
#A452CF #CF6652 #7DCF52 #52BCCF
square
#A452CF #CF6652 #7DCF52 #52BCCF
split-complementary
#A452CF #BCCF52 #52CF66
monochromatic
#622482 #8631B2 #A452CF #BD82DC #D6B2EA

Accessibility & contrast

On white

4.48
#A452CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A452CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A452CF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A452CF#FFFFFF#000000##000000
##A452CF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2473D3
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#9F6989
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a452cf;
/* rgb */ color: rgb(164, 82, 207);
/* oklch */ color: oklch(59.2% 0.194 312.2);
Tailwind
colors: {
  custom: {
    50: '#c287de',
    500: '#a452cf',
    950: '#000000',
  },
}
SCSS
$custom: #a452cf;
$custom-light: #c287de;
$custom-dark: #000000;
JSON
{
  "hex": "#a452cf",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 279.36,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5924,
    "c": 0.19378,
    "h": 312.2
  },
  "luminance": 0.18432
}

Semantic roles & 50–950 ramp

primary
#A452CF
secondary
#B6D8A5
accent
#E0487C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A452CF

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

Preview Lab → · Contrast checker → · Palette generator →

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