#AF43D9#AF43D9

#AF43D9 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.5% C 0.227 H 314.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AF43D9
RGBrgb(175, 67, 217)
HSLhsl(283, 66%, 56%)
HSVhsv(283, 69%, 85%)
CMYKcmyk(19.4%, 69.1%, 0%, 14.9%)
CIE-LABlab(49.66, 65.55, -57.27)
CIE-LCHlch(49.66, 87.04, 318.86°)
OKLaboklab(59.49% 0.1603 -0.1612)
OKLCHoklch(59.49% 0.227 314.8)
XYZxyz(32.2087, 18.1391, 67.4368)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43D9 #6DD943
analogous
#6443D9 #AF43D9 #D943B8
triadic
#AF43D9 #D9AF43 #43D9AF
tetradic
#AF43D9 #D96443 #6DD943 #43B8D9
square
#AF43D9 #D96443 #6DD943 #43B8D9
split-complementary
#AF43D9 #B8D943 #43D964
monochromatic
#681B86 #9025B9 #AF43D9 #C576E3 #DAA9EE

Accessibility & contrast

On white

4.54
#AF43D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AF43D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF43D9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43D9#FFFFFF#000000##000000
##AF43D91.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#3E79D6
Tritanopia (blue-blind)
#AB6289
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af43d9;
/* rgb */ color: rgb(175, 67, 217);
/* oklch */ color: oklch(59.5% 0.227 314.8);
Tailwind
colors: {
  custom: {
    50: '#cb80e5',
    500: '#af43d9',
    950: '#000000',
  },
}
SCSS
$custom: #af43d9;
$custom-light: #cb80e5;
$custom-dark: #000000;
JSON
{
  "hex": "#af43d9",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 217
  },
  "hsl": {
    "h": 283.2,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59488,
    "c": 0.22736,
    "h": 314.8
  },
  "luminance": 0.18138
}

Semantic roles & 50–950 ramp

primary
#AF43D9
secondary
#AEDB9D
accent
#E93F6E
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF43D9

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

Preview Lab → · Contrast checker → · Palette generator →

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