#AF39BE#AF39BE

#AF39BE is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.216 H 323.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AF39BE
RGBrgb(175, 57, 190)
HSLhsl(293, 54%, 48%)
HSVhsv(293, 70%, 75%)
CMYKcmyk(7.9%, 70%, 0%, 25.5%)
CIE-LABlab(46.66, 64.33, -46.53)
CIE-LCHlch(46.66, 79.39, 324.13°)
OKLaboklab(56.82% 0.1721 -0.1298)
OKLCHoklch(56.82% 0.216 323)
XYZxyz(28.4357, 15.7596, 50.2493)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF39BE #48BE39
analogous
#6C39BE #AF39BE #BE398A
triadic
#AF39BE #BEAF39 #39BEAF
tetradic
#AF39BE #BE6C39 #48BE39 #398ABE
square
#AF39BE #BE6C39 #48BE39 #398ABE
split-complementary
#AF39BE #8ABE39 #39BE6C
monochromatic
#581D60 #842B8F #AF39BE #C464D0 #D693DF

Accessibility & contrast

On white

5.06
#AF39BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF39BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF39BE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF39BE#FFFFFF#000000##FFFFFF
##AF39BE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0966C2
Deuteranopia (green-blind)
#4E73BB
Tritanopia (blue-blind)
#B25078
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af39be;
/* rgb */ color: rgb(175, 57, 190);
/* oklch */ color: oklch(56.8% 0.216 323.0);
Tailwind
colors: {
  custom: {
    50: '#cb7ad2',
    500: '#af39be',
    950: '#000000',
  },
}
SCSS
$custom: #af39be;
$custom-light: #cb7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#af39be",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 293.233,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56815,
    "c": 0.21554,
    "h": 323
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#AF39BE
secondary
#90CA89
accent
#DD4B5B
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF39BE

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

Preview Lab → · Contrast checker → · Palette generator →

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