#A02698#A02698

#A02698 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.199 H 331.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A02698
RGBrgb(160, 38, 152)
HSLhsl(304, 62%, 39%)
HSVhsv(304, 76%, 63%)
CMYKcmyk(0%, 76.3%, 5%, 37.3%)
CIE-LABlab(39.80, 61.09, -35.02)
CIE-LCHlch(39.80, 70.41, 330.18°)
OKLaboklab(50.74% 0.1741 -0.0965)
OKLCHoklch(50.74% 0.199 331)
XYZxyz(20.8578, 11.1285, 30.7491)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02698 #26A02E
analogous
#6B26A0 #A02698 #A0265B
triadic
#A02698 #98A026 #2698A0
tetradic
#A02698 #A06B26 #26A02E #265BA0
square
#A02698 #A06B26 #26A02E #265BA0
split-complementary
#A02698 #5BA026 #26A06B
monochromatic
#3D0F3A #6F1A69 #A02698 #CF34C5 #DB66D3

Accessibility & contrast

On white

6.51
#A02698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A02698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02698
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02698#FFFFFF#000000##FFFFFF
##A026981.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19539B
Deuteranopia (green-blind)
#4D6495
Tritanopia (blue-blind)
#A6365D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02698;
/* rgb */ color: rgb(160, 38, 152);
/* oklch */ color: oklch(50.7% 0.199 331.0);
Tailwind
colors: {
  custom: {
    50: '#c06eb7',
    500: '#a02698',
    950: '#000000',
  },
}
SCSS
$custom: #a02698;
$custom-light: #c06eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02698",
  "rgb": {
    "r": 160,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 303.934,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50738,
    "c": 0.19909,
    "h": 331
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

primary
#A02698
secondary
#61C068
accent
#E54E43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02698

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

Preview Lab → · Contrast checker → · Palette generator →

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