#AF39CD#AF39CD

#AF39CD is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.228 H 318.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AF39CD
RGBrgb(175, 57, 205)
HSLhsl(288, 60%, 51%)
HSVhsv(288, 72%, 80%)
CMYKcmyk(14.6%, 72.2%, 0%, 19.6%)
CIE-LABlab(47.56, 67.08, -53.77)
CIE-LCHlch(47.56, 85.97, 321.28°)
OKLaboklab(57.75% 0.1712 -0.1509)
OKLCHoklch(57.75% 0.228 318.6)
XYZxyz(30.1603, 16.4494, 59.3321)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39CD #57CD39
analogous
#6539CD #AF39CD #CD39A1
triadic
#AF39CD #CDAF39 #39CDAF
tetradic
#AF39CD #CD6539 #57CD39 #39A1CD
square
#AF39CD #CD6539 #57CD39 #39A1CD
split-complementary
#AF39CD #A1CD39 #39CD65
monochromatic
#5F1C6F #8828A0 #AF39CD #C36AD9 #D69BE6

Accessibility & contrast

On white

4.90
#AF39CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AF39CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39CD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39CD#FFFFFF#000000##FFFFFF
##AF39CD1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#4175CA
Tritanopia (blue-blind)
#AE5780
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af39cd;
/* rgb */ color: rgb(175, 57, 205);
/* oklch */ color: oklch(57.7% 0.228 318.6);
Tailwind
colors: {
  custom: {
    50: '#cb7add',
    500: '#af39cd',
    950: '#000000',
  },
}
SCSS
$custom: #af39cd;
$custom-light: #cb7add;
$custom-dark: #000000;
JSON
{
  "hex": "#af39cd",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 287.838,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57747,
    "c": 0.22825,
    "h": 318.6
  },
  "luminance": 0.16448
}

Semantic roles & 50–950 ramp

primary
#AF39CD
secondary
#9ED290
accent
#E34565
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF39CD

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

Preview Lab → · Contrast checker → · Palette generator →

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