#A02FBE#A02FBE

#A02FBE is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.220 H 318.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A02FBE
RGBrgb(160, 47, 190)
HSLhsl(287, 60%, 46%)
HSVhsv(287, 75%, 75%)
CMYKcmyk(15.8%, 75.3%, 0%, 25.5%)
CIE-LABlab(43.10, 64.79, -52.35)
CIE-LCHlch(43.10, 83.29, 321.06°)
OKLaboklab(53.82% 0.164 -0.1472)
OKLCHoklch(53.82% 0.22 318.1)
XYZxyz(24.8067, 13.2255, 49.9513)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FBE #4DBE2F
analogous
#592FBE #A02FBE #BE2F95
triadic
#A02FBE #BEA02F #2FBEA0
tetradic
#A02FBE #BE592F #4DBE2F #2F95BE
square
#A02FBE #BE592F #4DBE2F #2F95BE
split-complementary
#A02FBE #95BE2F #2FBE59
monochromatic
#4D175C #77238D #A02FBE #BA55D5 #CE86E1

Accessibility & contrast

On white

5.76
#A02FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A02FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FBE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FBE#FFFFFF#000000##FFFFFF
##A02FBE1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#3569BB
Tritanopia (blue-blind)
#9F4D75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a02fbe;
/* rgb */ color: rgb(160, 47, 190);
/* oklch */ color: oklch(53.8% 0.220 318.1);
Tailwind
colors: {
  custom: {
    50: '#c074d2',
    500: '#a02fbe',
    950: '#000000',
  },
}
SCSS
$custom: #a02fbe;
$custom-light: #c074d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fbe",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 287.413,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53823,
    "c": 0.22039,
    "h": 318.1
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#A02FBE
secondary
#8ECB7E
accent
#E34466
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A02FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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