#AF39DA#AF39DA

#AF39DA is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.6% C 0.239 H 315.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AF39DA
RGBrgb(175, 57, 218)
HSLhsl(284, 69%, 54%)
HSVhsv(284, 74%, 85%)
CMYKcmyk(19.7%, 73.9%, 0%, 14.5%)
CIE-LABlab(48.39, 69.55, -59.89)
CIE-LCHlch(48.39, 91.78, 319.27°)
OKLaboklab(58.6% 0.1698 -0.1689)
OKLCHoklch(58.6% 0.239 315.2)
XYZxyz(31.7952, 17.1033, 67.9425)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39DA #64DA39
analogous
#5F39DA #AF39DA #DA39B5
triadic
#AF39DA #DAAF39 #39DAAF
tetradic
#AF39DA #DA5F39 #64DA39 #39B5DA
square
#AF39DA #DA5F39 #64DA39 #39B5DA
split-complementary
#AF39DA #B5DA39 #39DA5F
monochromatic
#651881 #8D22B4 #AF39DA #C46DE4 #D9A0ED

Accessibility & contrast

On white

4.75
#AF39DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AF39DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39DA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39DA#FFFFFF#000000##FFFFFF
##AF39DA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#3376D6
Tritanopia (blue-blind)
#AB5C87
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af39da;
/* rgb */ color: rgb(175, 57, 218);
/* oklch */ color: oklch(58.6% 0.239 315.2);
Tailwind
colors: {
  custom: {
    50: '#cb7be6',
    500: '#af39da',
    950: '#000000',
  },
}
SCSS
$custom: #af39da;
$custom-light: #cb7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#af39da",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 283.975,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58602,
    "c": 0.23946,
    "h": 315.2
  },
  "luminance": 0.17102
}

Semantic roles & 50–950 ramp

primary
#AF39DA
secondary
#A7DA95
accent
#EB3C6B
background
#FDF7FE
surface
#FAEEFC
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AF39DA

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

Preview Lab → · Contrast checker → · Palette generator →

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