#AF43CA#AF43CA

#AF43CA is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.5% C 0.214 H 319.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AF43CA
RGBrgb(175, 67, 202)
HSLhsl(288, 56%, 53%)
HSVhsv(288, 67%, 79%)
CMYKcmyk(13.4%, 66.8%, 0%, 20.8%)
CIE-LABlab(48.75, 62.63, -50.13)
CIE-LCHlch(48.75, 80.22, 321.32°)
OKLaboklab(58.54% 0.1612 -0.1404)
OKLCHoklch(58.54% 0.214 319)
XYZxyz(30.3456, 17.3939, 57.6246)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43CA #5ECA43
analogous
#6B43CA #AF43CA #CA43A2
triadic
#AF43CA #CAAF43 #43CAAF
tetradic
#AF43CA #CA6B43 #5ECA43 #43A2CA
square
#AF43CA #CA6B43 #5ECA43 #43A2CA
split-complementary
#AF43CA #A2CA43 #43CA6B
monochromatic
#622072 #8B2EA2 #AF43CA #C373D7 #D8A2E5

Accessibility & contrast

On white

4.69
#AF43CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AF43CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43CA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43CA#FFFFFF#000000##FFFFFF
##AF43CA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6DCE
Deuteranopia (green-blind)
#4B77C7
Tritanopia (blue-blind)
#AF5B81
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af43ca;
/* rgb */ color: rgb(175, 67, 202);
/* oklch */ color: oklch(58.5% 0.214 319.0);
Tailwind
colors: {
  custom: {
    50: '#ca7fdb',
    500: '#af43ca',
    950: '#000000',
  },
}
SCSS
$custom: #af43ca;
$custom-light: #ca7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#af43ca",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 288,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58543,
    "c": 0.21374,
    "h": 319
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#AF43CA
secondary
#A3D297
accent
#DF4867
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF43CA

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

Preview Lab → · Contrast checker → · Palette generator →

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