#AF2DB3#AF2DB3

#AF2DB3 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.220 H 326.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AF2DB3
RGBrgb(175, 45, 179)
HSLhsl(298, 60%, 44%)
HSVhsv(298, 75%, 70%)
CMYKcmyk(2.2%, 74.9%, 0%, 29.8%)
CIE-LABlab(44.59, 66.54, -43.38)
CIE-LCHlch(44.59, 79.43, 326.90°)
OKLaboklab(55.13% 0.1838 -0.1205)
OKLCHoklch(55.13% 0.22 326.7)
XYZxyz(26.7538, 14.2473, 43.9800)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2DB3 #31B32D
analogous
#6C2DB3 #AF2DB3 #B32D74
triadic
#AF2DB3 #B3AF2D #2DB3AF
tetradic
#AF2DB3 #B36C2D #31B32D #2D74B3
square
#AF2DB3 #B36C2D #31B32D #2D74B3
split-complementary
#AF2DB3 #74B32D #2DB36C
monochromatic
#4F1451 #7F2182 #AF2DB3 #CE4BD2 #DB7CDE

Accessibility & contrast

On white

5.46
#AF2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AF2DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2DB3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2DB3#FFFFFF#000000##FFFFFF
##AF2DB31.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025FB7
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#B4446E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af2db3;
/* rgb */ color: rgb(175, 45, 179);
/* oklch */ color: oklch(55.1% 0.220 326.7);
Tailwind
colors: {
  custom: {
    50: '#cb74ca',
    500: '#af2db3',
    950: '#000000',
  },
}
SCSS
$custom: #af2db3;
$custom-light: #cb74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#af2db3",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 298.209,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5513,
    "c": 0.21975,
    "h": 326.7
  },
  "luminance": 0.14245
}

Semantic roles & 50–950 ramp

primary
#AF2DB3
secondary
#78C775
accent
#E3454A
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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