#AF45DA#AF45DA

#AF45DA is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.226 H 314.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AF45DA
RGBrgb(175, 69, 218)
HSLhsl(283, 67%, 56%)
HSVhsv(283, 68%, 85%)
CMYKcmyk(19.7%, 68.3%, 0%, 14.5%)
CIE-LABlab(50.02, 64.94, -57.27)
CIE-LCHlch(50.02, 86.58, 318.59°)
OKLaboklab(59.76% 0.1581 -0.1613)
OKLCHoklch(59.76% 0.226 314.4)
XYZxyz(32.4601, 18.4332, 68.1642)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF45DA #70DA45
analogous
#6545DA #AF45DA #DA45BA
triadic
#AF45DA #DAAF45 #45DAAF
tetradic
#AF45DA #DA6545 #70DA45 #45BADA
square
#AF45DA #DA6545 #70DA45 #45BADA
split-complementary
#AF45DA #BADA45 #45DA65
monochromatic
#6A1B89 #9125BC #AF45DA #C578E4 #DBABEE

Accessibility & contrast

On white

4.48
#AF45DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AF45DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF45DA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF45DA#FFFFFF#000000##000000
##AF45DA1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#3E7AD7
Tritanopia (blue-blind)
#AB638B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af45da;
/* rgb */ color: rgb(175, 69, 218);
/* oklch */ color: oklch(59.8% 0.226 314.4);
Tailwind
colors: {
  custom: {
    50: '#cb81e6',
    500: '#af45da',
    950: '#000000',
  },
}
SCSS
$custom: #af45da;
$custom-light: #cb81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af45da",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 282.685,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59761,
    "c": 0.22587,
    "h": 314.4
  },
  "luminance": 0.18432
}

Semantic roles & 50–950 ramp

primary
#AF45DA
secondary
#B0DC9F
accent
#EA3E70
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF45DA

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

Preview Lab → · Contrast checker → · Palette generator →

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