#A02FDB#A02FDB

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

Color values

HEX#A02FDB
RGBrgb(160, 47, 219)
HSLhsl(279, 70%, 52%)
HSVhsv(279, 79%, 86%)
CMYKcmyk(26.9%, 78.5%, 0%, 14.1%)
CIE-LABlab(45.11, 70.45, -65.87)
CIE-LCHlch(45.11, 96.45, 316.93°)
OKLaboklab(55.87% 0.1591 -0.1869)
OKLCHoklch(55.87% 0.245 310.4)
XYZxyz(28.2974, 14.6217, 68.3357)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FDB #6ADB2F
analogous
#4A2FDB #A02FDB #DB2FC0
triadic
#A02FDB #DBA02F #2FDBA0
tetradic
#A02FDB #DB4A2F #6ADB2F #2FC0DB
square
#A02FDB #DB4A2F #6ADB2F #2FC0DB
split-complementary
#A02FDB #C0DB2F #2FDB4A
monochromatic
#58157A #7D1EAF #A02FDB #B863E4 #D097ED

Accessibility & contrast

On white

5.35
#A02FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02FDB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FDB#FFFFFF#000000##FFFFFF
##A02FDB1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#985B86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a02fdb;
/* rgb */ color: rgb(160, 47, 219);
/* oklch */ color: oklch(55.9% 0.245 310.4);
Tailwind
colors: {
  custom: {
    50: '#c275e7',
    500: '#a02fdb',
    950: '#000000',
  },
}
SCSS
$custom: #a02fdb;
$custom-light: #c275e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fdb",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 219
  },
  "hsl": {
    "h": 279.419,
    "s": 70.492,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55874,
    "c": 0.24543,
    "h": 310.4
  },
  "luminance": 0.14621
}

Semantic roles & 50–950 ramp

primary
#A02FDB
secondary
#A7D88D
accent
#ED3B78
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #A02FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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