#AF2DB0#AF2DB0

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

Color values

HEX#AF2DB0
RGBrgb(175, 45, 176)
HSLhsl(300, 59%, 43%)
HSVhsv(300, 74%, 69%)
CMYKcmyk(0.6%, 74.4%, 0%, 31%)
CIE-LABlab(44.41, 66.04, -41.88)
CIE-LCHlch(44.41, 78.21, 327.62°)
OKLaboklab(54.95% 0.1838 -0.1162)
OKLCHoklch(54.95% 0.217 327.7)
XYZxyz(26.4537, 14.1272, 42.3994)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2DB0 #2EB02D
analogous
#6D2DB0 #AF2DB0 #B02D6F
triadic
#AF2DB0 #B0AF2D #2DB0AF
tetradic
#AF2DB0 #B06D2D #2EB02D #2D6FB0
square
#AF2DB0 #B06D2D #2EB02D #2D6FB0
split-complementary
#AF2DB0 #6FB02D #2DB06D
monochromatic
#4E144F #7F217F #AF2DB0 #D04AD1 #DC7ADD

Accessibility & contrast

On white

5.49
#AF2DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF2DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2DB0
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2DB0#FFFFFF#000000##FFFFFF
##AF2DB01.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5EB4
Deuteranopia (green-blind)
#506FAD
Tritanopia (blue-blind)
#B4426D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af2db0;
/* rgb */ color: rgb(175, 45, 176);
/* oklch */ color: oklch(55.0% 0.217 327.7);
Tailwind
colors: {
  custom: {
    50: '#cb74c8',
    500: '#af2db0',
    950: '#000000',
  },
}
SCSS
$custom: #af2db0;
$custom-light: #cb74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2db0",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 299.542,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54954,
    "c": 0.21745,
    "h": 327.7
  },
  "luminance": 0.14125
}

Semantic roles & 50–950 ramp

primary
#AF2DB0
secondary
#74C573
accent
#E24547
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF2DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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