#AF43CE#AF43CE

#AF43CE is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.8% C 0.217 H 317.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AF43CE
RGBrgb(175, 67, 206)
HSLhsl(287, 59%, 54%)
HSVhsv(287, 67%, 81%)
CMYKcmyk(15%, 67.5%, 0%, 19.2%)
CIE-LABlab(48.99, 63.40, -52.05)
CIE-LCHlch(48.99, 82.03, 320.61°)
OKLaboklab(58.79% 0.161 -0.146)
OKLCHoklch(58.79% 0.217 317.8)
XYZxyz(30.8254, 17.5858, 60.1512)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43CE #62CE43
analogous
#6943CE #AF43CE #CE43A7
triadic
#AF43CE #CEAF43 #43CEAF
tetradic
#AF43CE #CE6943 #62CE43 #43A7CE
square
#AF43CE #CE6943 #62CE43 #43A7CE
split-complementary
#AF43CE #A7CE43 #43CE69
monochromatic
#641F77 #8C2CA8 #AF43CE #C474DB #D8A4E7

Accessibility & contrast

On white

4.65
#AF43CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AF43CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43CE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43CE#FFFFFF#000000##FFFFFF
##AF43CE1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#AE5D83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af43ce;
/* rgb */ color: rgb(175, 67, 206);
/* oklch */ color: oklch(58.8% 0.217 317.8);
Tailwind
colors: {
  custom: {
    50: '#cb7fde',
    500: '#af43ce',
    950: '#000000',
  },
}
SCSS
$custom: #af43ce;
$custom-light: #cb7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#af43ce",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 206
  },
  "hsl": {
    "h": 286.619,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5879,
    "c": 0.21735,
    "h": 317.8
  },
  "luminance": 0.17585
}

Semantic roles & 50–950 ramp

primary
#AF43CE
secondary
#A6D499
accent
#E24669
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF43CE

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

Preview Lab → · Contrast checker → · Palette generator →

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