#A02FB2#A02FB2

#A02FB2 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.210 H 321.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A02FB2
RGBrgb(160, 47, 178)
HSLhsl(292, 58%, 44%)
HSVhsv(292, 74%, 70%)
CMYKcmyk(10.1%, 73.6%, 0%, 30.2%)
CIE-LABlab(42.34, 62.56, -46.52)
CIE-LCHlch(42.34, 77.96, 323.37°)
OKLaboklab(53.04% 0.1652 -0.1301)
OKLCHoklch(53.04% 0.21 321.8)
XYZxyz(23.5487, 12.7223, 43.3261)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02FB2 #41B22F
analogous
#5F2FB2 #A02FB2 #B22F83
triadic
#A02FB2 #B2A02F #2FB2A0
tetradic
#A02FB2 #B25F2F #41B22F #2F83B2
square
#A02FB2 #B25F2F #41B22F #2F83B2
split-complementary
#A02FB2 #83B22F #2FB25F
monochromatic
#491551 #742282 #A02FB2 #BE4ED0 #D07EDD

Accessibility & contrast

On white

5.93
#A02FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A02FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02FB2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02FB2#FFFFFF#000000##FFFFFF
##A02FB21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#4168AF
Tritanopia (blue-blind)
#A2486E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a02fb2;
/* rgb */ color: rgb(160, 47, 178);
/* oklch */ color: oklch(53.0% 0.210 321.8);
Tailwind
colors: {
  custom: {
    50: '#c073ca',
    500: '#a02fb2',
    950: '#000000',
  },
}
SCSS
$custom: #a02fb2;
$custom-light: #c073ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a02fb2",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 291.756,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53041,
    "c": 0.21025,
    "h": 321.8
  },
  "luminance": 0.12721
}

Semantic roles & 50–950 ramp

primary
#A02FB2
secondary
#82C677
accent
#E1465C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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