#AF39CA#AF39CA

#AF39CA is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.226 H 319.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AF39CA
RGBrgb(175, 57, 202)
HSLhsl(289, 58%, 51%)
HSVhsv(289, 72%, 79%)
CMYKcmyk(13.4%, 71.8%, 0%, 20.8%)
CIE-LABlab(47.37, 66.52, -52.34)
CIE-LCHlch(47.37, 84.64, 321.80°)
OKLaboklab(57.56% 0.1715 -0.1468)
OKLCHoklch(57.56% 0.226 319.4)
XYZxyz(29.8016, 16.3059, 57.4433)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39CA #54CA39
analogous
#6639CA #AF39CA #CA399C
triadic
#AF39CA #CAAF39 #39CAAF
tetradic
#AF39CA #CA6639 #54CA39 #399CCA
square
#AF39CA #CA6639 #54CA39 #399CCA
split-complementary
#AF39CA #9CCA39 #39CA66
monochromatic
#5D1D6C #872A9C #AF39CA #C369D7 #D69AE4

Accessibility & contrast

On white

4.93
#AF39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AF39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39CA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39CA#FFFFFF#000000##FFFFFF
##AF39CA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#4474C7
Tritanopia (blue-blind)
#AF557E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af39ca;
/* rgb */ color: rgb(175, 57, 202);
/* oklch */ color: oklch(57.6% 0.226 319.4);
Tailwind
colors: {
  custom: {
    50: '#cb7adb',
    500: '#af39ca',
    950: '#000000',
  },
}
SCSS
$custom: #af39ca;
$custom-light: #cb7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#af39ca",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 288.828,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57556,
    "c": 0.22568,
    "h": 319.4
  },
  "luminance": 0.16304
}

Semantic roles & 50–950 ramp

primary
#AF39CA
secondary
#9BD08F
accent
#E14764
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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