#AF39CB#AF39CB

#AF39CB is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.227 H 319.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AF39CB
RGBrgb(175, 57, 203)
HSLhsl(288, 58%, 51%)
HSVhsv(288, 72%, 80%)
CMYKcmyk(13.8%, 71.9%, 0%, 20.4%)
CIE-LABlab(47.43, 66.71, -52.82)
CIE-LCHlch(47.43, 85.09, 321.63°)
OKLaboklab(57.62% 0.1714 -0.1482)
OKLCHoklch(57.62% 0.227 319.2)
XYZxyz(29.9204, 16.3534, 58.0688)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39CB #55CB39
analogous
#6639CB #AF39CB #CB399E
triadic
#AF39CB #CBAF39 #39CBAF
tetradic
#AF39CB #CB6639 #55CB39 #399ECB
square
#AF39CB #CB6639 #55CB39 #399ECB
split-complementary
#AF39CB #9ECB39 #39CB66
monochromatic
#5E1D6D #87299D #AF39CB #C369D8 #D69AE4

Accessibility & contrast

On white

4.92
#AF39CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AF39CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39CB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39CB#FFFFFF#000000##FFFFFF
##AF39CB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#4374C8
Tritanopia (blue-blind)
#AF567F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af39cb;
/* rgb */ color: rgb(175, 57, 203);
/* oklch */ color: oklch(57.6% 0.227 319.2);
Tailwind
colors: {
  custom: {
    50: '#cb7adb',
    500: '#af39cb',
    950: '#000000',
  },
}
SCSS
$custom: #af39cb;
$custom-light: #cb7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#af39cb",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 288.493,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57619,
    "c": 0.22654,
    "h": 319.2
  },
  "luminance": 0.16352
}

Semantic roles & 50–950 ramp

primary
#AF39CB
secondary
#9CD090
accent
#E24664
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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