#A02CDF#A02CDF

#A02CDF is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.9% C 0.251 H 309.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A02CDF
RGBrgb(160, 44, 223)
HSLhsl(279, 74%, 52%)
HSVhsv(279, 80%, 87%)
CMYKcmyk(28.3%, 80.3%, 0%, 12.5%)
CIE-LABlab(45.09, 72.20, -68.20)
CIE-LCHlch(45.09, 99.31, 316.63°)
OKLaboklab(55.95% 0.1604 -0.1937)
OKLCHoklch(55.95% 0.251 309.6)
XYZxyz(28.7145, 14.6033, 71.1038)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02CDF #6BDF2C
analogous
#472CDF #A02CDF #DF2CC4
triadic
#A02CDF #DFA02C #2CDFA0
tetradic
#A02CDF #DF472C #6BDF2C #2CC4DF
square
#A02CDF #DF472C #6BDF2C #2CC4DF
split-complementary
#A02CDF #C4DF2C #2CDF47
monochromatic
#58137E #7D1BB3 #A02CDF #B861E7 #D096EF

Accessibility & contrast

On white

5.36
#A02CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A02CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02CDF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02CDF#FFFFFF#000000##FFFFFF
##A02CDF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E4
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#975B87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a02cdf;
/* rgb */ color: rgb(160, 44, 223);
/* oklch */ color: oklch(55.9% 0.251 309.6);
Tailwind
colors: {
  custom: {
    50: '#c274ea',
    500: '#a02cdf',
    950: '#000000',
  },
}
SCSS
$custom: #a02cdf;
$custom-light: #c274ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a02cdf",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 223
  },
  "hsl": {
    "h": 278.883,
    "s": 73.663,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55949,
    "c": 0.25147,
    "h": 309.6
  },
  "luminance": 0.14603
}

Semantic roles & 50–950 ramp

primary
#A02CDF
secondary
#A8DA8C
accent
#F03779
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #A02CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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