#A02FDA#A02FDA

#A02FDA is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.8% C 0.245 H 310.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A02FDA
RGBrgb(160, 47, 218)
HSLhsl(280, 70%, 52%)
HSVhsv(280, 78%, 85%)
CMYKcmyk(26.6%, 78.4%, 0%, 14.5%)
CIE-LABlab(45.04, 70.25, -65.42)
CIE-LCHlch(45.04, 95.99, 317.04°)
OKLaboklab(55.8% 0.1593 -0.1855)
OKLCHoklch(55.8% 0.245 310.7)
XYZxyz(28.1661, 14.5692, 67.6445)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FDA #69DA2F
analogous
#4B2FDA #A02FDA #DA2FBF
triadic
#A02FDA #DAA02F #2FDAA0
tetradic
#A02FDA #DA4B2F #69DA2F #2FBFDA
square
#A02FDA #DA4B2F #69DA2F #2FBFDA
split-complementary
#A02FDA #BFDA2F #2FDA4B
monochromatic
#571679 #7D1FAD #A02FDA #B863E3 #CF97EC

Accessibility & contrast

On white

5.37
#A02FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A02FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FDA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FDA#FFFFFF#000000##FFFFFF
##A02FDA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#985A85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a02fda;
/* rgb */ color: rgb(160, 47, 218);
/* oklch */ color: oklch(55.8% 0.245 310.7);
Tailwind
colors: {
  custom: {
    50: '#c275e6',
    500: '#a02fda',
    950: '#000000',
  },
}
SCSS
$custom: #a02fda;
$custom-light: #c275e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fda",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 218
  },
  "hsl": {
    "h": 279.649,
    "s": 69.796,
    "l": 51.961
  },
  "oklch": {
    "l": 0.558,
    "c": 0.24456,
    "h": 310.7
  },
  "luminance": 0.14569
}

Semantic roles & 50–950 ramp

primary
#A02FDA
secondary
#A6D88D
accent
#ED3B77
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #A02FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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