#A152CF#A152CF

#A152CF is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.9% C 0.193 H 311.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A152CF
RGBrgb(161, 82, 207)
HSLhsl(278, 57%, 57%)
HSVhsv(278, 60%, 81%)
CMYKcmyk(22.2%, 60.4%, 0%, 18.8%)
CIE-LABlab(49.64, 53.59, -51.70)
CIE-LCHlch(49.64, 74.46, 316.03°)
OKLaboklab(58.88% 0.1265 -0.1454)
OKLCHoklch(58.88% 0.193 311)
XYZxyz(28.9756, 18.1173, 60.9900)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152CF #80CF52
analogous
#6352CF #A152CF #CF52BF
triadic
#A152CF #CFA152 #52CFA1
tetradic
#A152CF #CF6352 #80CF52 #52BFCF
square
#A152CF #CF6352 #80CF52 #52BFCF
split-complementary
#A152CF #BFCF52 #52CF63
monochromatic
#602482 #8331B2 #A152CF #BB82DC #D5B2EA

Accessibility & contrast

On white

4.54
#A152CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A152CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152CF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152CF#FFFFFF#000000##000000
##A152CF1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2172D3
Deuteranopia (green-blind)
#4678CC
Tritanopia (blue-blind)
#9B6989
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a152cf;
/* rgb */ color: rgb(161, 82, 207);
/* oklch */ color: oklch(58.9% 0.193 311.0);
Tailwind
colors: {
  custom: {
    50: '#c087de',
    500: '#a152cf',
    950: '#000000',
  },
}
SCSS
$custom: #a152cf;
$custom-light: #c087de;
$custom-dark: #000000;
JSON
{
  "hex": "#a152cf",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 277.92,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58883,
    "c": 0.19272,
    "h": 311
  },
  "luminance": 0.18117
}

Semantic roles & 50–950 ramp

primary
#A152CF
secondary
#B8D8A5
accent
#E04880
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A152CF

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

Preview Lab → · Contrast checker → · Palette generator →

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