#A02FC1#A02FC1

#A02FC1 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.223 H 317.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A02FC1
RGBrgb(160, 47, 193)
HSLhsl(286, 61%, 47%)
HSVhsv(286, 76%, 76%)
CMYKcmyk(17.1%, 75.6%, 0%, 24.3%)
CIE-LABlab(43.30, 65.35, -53.79)
CIE-LCHlch(43.30, 84.64, 320.54°)
OKLaboklab(54.03% 0.1637 -0.1514)
OKLCHoklch(54.03% 0.223 317.2)
XYZxyz(25.1379, 13.3580, 51.6959)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FC1 #50C12F
analogous
#572FC1 #A02FC1 #C12F99
triadic
#A02FC1 #C1A02F #2FC1A0
tetradic
#A02FC1 #C1572F #50C12F #2F99C1
square
#A02FC1 #C1572F #50C12F #2F99C1
split-complementary
#A02FC1 #99C12F #2FC157
monochromatic
#4E175F #772390 #A02FC1 #B957D6 #CE88E2

Accessibility & contrast

On white

5.72
#A02FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A02FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FC1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FC1#FFFFFF#000000##FFFFFF
##A02FC11.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#326ABE
Tritanopia (blue-blind)
#9E4F77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a02fc1;
/* rgb */ color: rgb(160, 47, 193);
/* oklch */ color: oklch(54.0% 0.223 317.2);
Tailwind
colors: {
  custom: {
    50: '#c074d4',
    500: '#a02fc1',
    950: '#000000',
  },
}
SCSS
$custom: #a02fc1;
$custom-light: #c074d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fc1",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 286.438,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54025,
    "c": 0.22295,
    "h": 317.2
  },
  "luminance": 0.13357
}

Semantic roles & 50–950 ramp

primary
#A02FC1
secondary
#91CC80
accent
#E44468
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A02FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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