#A02FDF#A02FDF

#A02FDF is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 56.2% C 0.249 H 309.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A02FDF
RGBrgb(160, 47, 223)
HSLhsl(279, 73%, 53%)
HSVhsv(279, 79%, 87%)
CMYKcmyk(28.3%, 78.9%, 0%, 12.5%)
CIE-LABlab(45.41, 71.26, -67.67)
CIE-LCHlch(45.41, 98.28, 316.48°)
OKLaboklab(56.17% 0.1582 -0.1922)
OKLCHoklch(56.17% 0.249 309.5)
XYZxyz(28.8303, 14.8349, 71.1424)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FDF #6EDF2F
analogous
#482FDF #A02FDF #DF2FC6
triadic
#A02FDF #DFA02F #2FDFA0
tetradic
#A02FDF #DF482F #6EDF2F #2FC6DF
square
#A02FDF #DF482F #6EDF2F #2FC6DF
split-complementary
#A02FDF #C6DF2F #2FDF48
monochromatic
#591480 #7E1CB5 #A02FDF #B864E7 #D099EF

Accessibility & contrast

On white

5.29
#A02FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A02FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FDF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FDF#FFFFFF#000000##FFFFFF
##A02FDF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#975C88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a02fdf;
/* rgb */ color: rgb(160, 47, 223);
/* oklch */ color: oklch(56.2% 0.249 309.5);
Tailwind
colors: {
  custom: {
    50: '#c275ea',
    500: '#a02fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a02fdf;
$custom-light: #c275ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fdf",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 223
  },
  "hsl": {
    "h": 278.523,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56173,
    "c": 0.24892,
    "h": 309.5
  },
  "luminance": 0.14834
}

Semantic roles & 50–950 ramp

primary
#A02FDF
secondary
#AADB8F
accent
#F0387A
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #A02FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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