#AF2EB0#AF2EB0

#AF2EB0 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.216 H 327.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AF2EB0
RGBrgb(175, 46, 176)
HSLhsl(300, 59%, 44%)
HSVhsv(300, 74%, 69%)
CMYKcmyk(0.6%, 73.9%, 0%, 31%)
CIE-LABlab(44.52, 65.73, -41.71)
CIE-LCHlch(44.52, 77.85, 327.60°)
OKLaboklab(55.03% 0.1829 -0.1157)
OKLCHoklch(55.03% 0.216 327.7)
XYZxyz(26.4923, 14.2044, 42.4123)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2EB0 #2FB02E
analogous
#6E2EB0 #AF2EB0 #B02E70
triadic
#AF2EB0 #B0AF2E #2EB0AF
tetradic
#AF2EB0 #B06E2E #2FB02E #2E70B0
square
#AF2EB0 #B06E2E #2FB02E #2E70B0
split-complementary
#AF2EB0 #70B02E #2EB06E
monochromatic
#4F154F #7F217F #AF2EB0 #CF4BD0 #DC7CDD

Accessibility & contrast

On white

5.47
#AF2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AF2EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2EB0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2EB0#FFFFFF#000000##FFFFFF
##AF2EB01.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105FB4
Deuteranopia (green-blind)
#516FAD
Tritanopia (blue-blind)
#B4436D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af2eb0;
/* rgb */ color: rgb(175, 46, 176);
/* oklch */ color: oklch(55.0% 0.216 327.7);
Tailwind
colors: {
  custom: {
    50: '#cb75c8',
    500: '#af2eb0',
    950: '#000000',
  },
}
SCSS
$custom: #af2eb0;
$custom-light: #cb75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2eb0",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 299.538,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55032,
    "c": 0.21643,
    "h": 327.7
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#AF2EB0
secondary
#75C575
accent
#E24647
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF2EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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