#A552F1#A552F1

#A552F1 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.6% C 0.229 H 304.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A552F1
RGBrgb(165, 82, 241)
HSLhsl(271, 85%, 63%)
HSVhsv(271, 66%, 95%)
CMYKcmyk(31.5%, 66%, 0%, 5.5%)
CIE-LABlab(52.27, 62.08, -66.68)
CIE-LCHlch(52.27, 91.11, 312.96°)
OKLaboklab(61.57% 0.1296 -0.1893)
OKLCHoklch(61.57% 0.229 304.4)
XYZxyz(34.4080, 20.3849, 85.3240)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A552F1 #9EF152
analogous
#5552F1 #A552F1 #F152ED
triadic
#A552F1 #F1A552 #52F1A5
tetradic
#A552F1 #F15552 #9EF152 #52EDF1
square
#A552F1 #F15552 #9EF152 #52EDF1
split-complementary
#A552F1 #EDF152 #52F155
monochromatic
#680FBA #8819EC #A552F1 #C28BF6 #E0C3FA

Accessibility & contrast

On white

4.14
#A552F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A552F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A552F1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A552F1#FFFFFF#000000##000000
##A552F11.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#1A7DEE
Tritanopia (blue-blind)
#97759B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a552f1;
/* rgb */ color: rgb(165, 82, 241);
/* oklch */ color: oklch(61.6% 0.229 304.4);
Tailwind
colors: {
  custom: {
    50: '#c588f7',
    500: '#a552f1',
    950: '#000000',
  },
}
SCSS
$custom: #a552f1;
$custom-light: #c588f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a552f1",
  "rgb": {
    "r": 165,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 271.321,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61573,
    "c": 0.22942,
    "h": 304.4
  },
  "luminance": 0.20385
}

Semantic roles & 50–950 ramp

primary
#A552F1
secondary
#CEECB3
accent
#E2046E
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A552F1

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

Preview Lab → · Contrast checker → · Palette generator →

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