#A02FC3#A02FC3

#A02FC3 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.2% C 0.225 H 316.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A02FC3
RGBrgb(160, 47, 195)
HSLhsl(286, 61%, 47%)
HSVhsv(286, 76%, 76%)
CMYKcmyk(17.9%, 75.9%, 0%, 23.5%)
CIE-LABlab(43.43, 65.74, -54.74)
CIE-LCHlch(43.43, 85.54, 320.21°)
OKLaboklab(54.16% 0.1634 -0.1542)
OKLCHoklch(54.16% 0.225 316.7)
XYZxyz(25.3626, 13.4478, 52.8789)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FC3 #52C32F
analogous
#562FC3 #A02FC3 #C32F9C
triadic
#A02FC3 #C3A02F #2FC3A0
tetradic
#A02FC3 #C3562F #52C32F #2F9CC3
square
#A02FC3 #C3562F #52C32F #2F9CC3
split-complementary
#A02FC3 #9CC32F #2FC356
monochromatic
#4F1760 #782392 #A02FC3 #B958D7 #CE8AE3

Accessibility & contrast

On white

5.69
#A02FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A02FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FC3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FC3#FFFFFF#000000##FFFFFF
##A02FC31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#306AC0
Tritanopia (blue-blind)
#9E5078
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a02fc3;
/* rgb */ color: rgb(160, 47, 195);
/* oklch */ color: oklch(54.2% 0.225 316.7);
Tailwind
colors: {
  custom: {
    50: '#c074d6',
    500: '#a02fc3',
    950: '#000000',
  },
}
SCSS
$custom: #a02fc3;
$custom-light: #c074d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fc3",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 285.811,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54161,
    "c": 0.22467,
    "h": 316.7
  },
  "luminance": 0.13447
}

Semantic roles & 50–950 ramp

primary
#A02FC3
secondary
#93CD81
accent
#E4446A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A02FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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