#AF43C2#AF43C2

#AF43C2 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.1% C 0.207 H 321.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AF43C2
RGBrgb(175, 67, 194)
HSLhsl(291, 51%, 51%)
HSVhsv(291, 65%, 76%)
CMYKcmyk(9.8%, 65.5%, 0%, 23.9%)
CIE-LABlab(48.29, 61.12, -46.25)
CIE-LCHlch(48.29, 76.64, 322.89°)
OKLaboklab(58.06% 0.1613 -0.129)
OKLCHoklch(58.06% 0.207 321.3)
XYZxyz(29.4229, 17.0248, 52.7648)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43C2 #56C243
analogous
#6F43C2 #AF43C2 #C24395
triadic
#AF43C2 #C2AF43 #43C2AF
tetradic
#AF43C2 #C26F43 #56C243 #4395C2
square
#AF43C2 #C26F43 #56C243 #4395C2
split-complementary
#AF43C2 #95C243 #43C26F
monochromatic
#5E2269 #883197 #AF43C2 #C371D1 #D69FE0

Accessibility & contrast

On white

4.77
#AF43C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AF43C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43C2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43C2#FFFFFF#000000##FFFFFF
##AF43C21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6BC6
Deuteranopia (green-blind)
#5177BF
Tritanopia (blue-blind)
#B1587D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af43c2;
/* rgb */ color: rgb(175, 67, 194);
/* oklch */ color: oklch(58.1% 0.207 321.3);
Tailwind
colors: {
  custom: {
    50: '#ca7fd5',
    500: '#af43c2',
    950: '#000000',
  },
}
SCSS
$custom: #af43c2;
$custom-light: #ca7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#af43c2",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 291.024,
    "s": 51.004,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58063,
    "c": 0.20658,
    "h": 321.3
  },
  "luminance": 0.17023
}

Semantic roles & 50–950 ramp

primary
#AF43C2
secondary
#9DCC94
accent
#DA4D62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF43C2

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

Preview Lab → · Contrast checker → · Palette generator →

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