#A02CDB#A02CDB

#A02CDB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.6% C 0.248 H 310.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A02CDB
RGBrgb(160, 44, 219)
HSLhsl(280, 71%, 52%)
HSVhsv(280, 80%, 86%)
CMYKcmyk(26.9%, 79.9%, 0%, 14.1%)
CIE-LABlab(44.79, 71.40, -66.40)
CIE-LCHlch(44.79, 97.50, 317.08°)
OKLaboklab(55.65% 0.1613 -0.1884)
OKLCHoklch(55.65% 0.248 310.6)
XYZxyz(28.1816, 14.3901, 68.2971)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02CDB #67DB2C
analogous
#492CDB #A02CDB #DB2CBF
triadic
#A02CDB #DBA02C #2CDBA0
tetradic
#A02CDB #DB492C #67DB2C #2CBFDB
square
#A02CDB #DB492C #67DB2C #2CBFDB
split-complementary
#A02CDB #BFDB2C #2CDB49
monochromatic
#571478 #7C1DAC #A02CDB #B860E4 #CF95ED

Accessibility & contrast

On white

5.42
#A02CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#A02CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02CDB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02CDB#FFFFFF#000000##FFFFFF
##A02CDB1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#985985
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a02cdb;
/* rgb */ color: rgb(160, 44, 219);
/* oklch */ color: oklch(55.6% 0.248 310.6);
Tailwind
colors: {
  custom: {
    50: '#c274e7',
    500: '#a02cdb',
    950: '#000000',
  },
}
SCSS
$custom: #a02cdb;
$custom-light: #c274e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02cdb",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 219
  },
  "hsl": {
    "h": 279.771,
    "s": 70.85,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55647,
    "c": 0.24804,
    "h": 310.6
  },
  "luminance": 0.14389
}

Semantic roles & 50–950 ramp

primary
#A02CDB
secondary
#A5D88B
accent
#EE3A77
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #A02CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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