#AF43DC#AF43DC

#AF43DC is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.7% C 0.230 H 314.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AF43DC
RGBrgb(175, 67, 220)
HSLhsl(282, 69%, 56%)
HSVhsv(282, 70%, 86%)
CMYKcmyk(20.5%, 69.5%, 0%, 13.7%)
CIE-LABlab(49.85, 66.15, -58.67)
CIE-LCHlch(49.85, 88.42, 318.43°)
OKLaboklab(59.68% 0.16 -0.1654)
OKLCHoklch(59.68% 0.23 314.1)
XYZxyz(32.6024, 18.2966, 69.5105)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43DC #70DC43
analogous
#6343DC #AF43DC #DC43BD
triadic
#AF43DC #DCAF43 #43DCAF
tetradic
#AF43DC #DC6343 #70DC43 #43BDDC
square
#AF43DC #DC6343 #70DC43 #43BDDC
split-complementary
#AF43DC #BDDC43 #43DC63
monochromatic
#6A1A8B #9123BE #AF43DC #C577E6 #DBAAEF

Accessibility & contrast

On white

4.51
#AF43DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AF43DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF43DC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43DC#FFFFFF#000000##000000
##AF43DC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af43dc;
/* rgb */ color: rgb(175, 67, 220);
/* oklch */ color: oklch(59.7% 0.230 314.1);
Tailwind
colors: {
  custom: {
    50: '#cb80e8',
    500: '#af43dc',
    950: '#000000',
  },
}
SCSS
$custom: #af43dc;
$custom-light: #cb80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af43dc",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 282.353,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59684,
    "c": 0.23011,
    "h": 314.1
  },
  "luminance": 0.18296
}

Semantic roles & 50–950 ramp

primary
#AF43DC
secondary
#B0DD9E
accent
#EB3C70
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF43DC

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

Preview Lab → · Contrast checker → · Palette generator →

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