#AF43E2#AF43E2

#AF43E2 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.1% C 0.236 H 312.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AF43E2
RGBrgb(175, 67, 226)
HSLhsl(281, 73%, 57%)
HSVhsv(281, 70%, 89%)
CMYKcmyk(22.6%, 70.4%, 0%, 11.4%)
CIE-LABlab(50.24, 67.36, -61.45)
CIE-LCHlch(50.24, 91.18, 317.63°)
OKLaboklab(60.08% 0.1594 -0.1735)
OKLCHoklch(60.08% 0.236 312.6)
XYZxyz(33.4113, 18.6202, 73.7708)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43E2 #76E243
analogous
#6043E2 #AF43E2 #E243C5
triadic
#AF43E2 #E2AF43 #43E2AF
tetradic
#AF43E2 #E26043 #76E243 #43C5E2
square
#AF43E2 #E26043 #76E243 #43C5E2
split-complementary
#AF43E2 #C5E243 #43E260
monochromatic
#6C1794 #921FC9 #AF43E2 #C678EA #DCADF2

Accessibility & contrast

On white

4.45
#AF43E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AF43E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF43E2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43E2#FFFFFF#000000##000000
##AF43E21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#327ADF
Tritanopia (blue-blind)
#A9658E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af43e2;
/* rgb */ color: rgb(175, 67, 226);
/* oklch */ color: oklch(60.1% 0.236 312.6);
Tailwind
colors: {
  custom: {
    50: '#cb80ec',
    500: '#af43e2',
    950: '#000000',
  },
}
SCSS
$custom: #af43e2;
$custom-light: #cb80ec;
$custom-dark: #000000;
JSON
{
  "hex": "#af43e2",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 226
  },
  "hsl": {
    "h": 280.755,
    "s": 73.272,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60082,
    "c": 0.23562,
    "h": 312.6
  },
  "luminance": 0.18619
}

Semantic roles & 50–950 ramp

primary
#AF43E2
secondary
#B5E1A0
accent
#F03873
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #AF43E2

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

Preview Lab → · Contrast checker → · Palette generator →

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