#AF439E#AF439E

#AF439E is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.1% C 0.176 H 334.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AF439E
RGBrgb(175, 67, 158)
HSLhsl(309, 45%, 47%)
HSVhsv(309, 62%, 69%)
CMYKcmyk(0%, 61.7%, 9.7%, 31.4%)
CIE-LABlab(46.44, 54.83, -28.01)
CIE-LCHlch(46.44, 61.57, 332.94°)
OKLaboklab(56.12% 0.1588 -0.0763)
OKLCHoklch(56.12% 0.176 334.3)
XYZxyz(25.8581, 15.5989, 33.9901)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF439E #43AF54
analogous
#8A43AF #AF439E #AF4368
triadic
#AF439E #9EAF43 #439EAF
tetradic
#AF439E #AF8A43 #43AF54 #4368AF
square
#AF439E #AF8A43 #43AF54 #4368AF
split-complementary
#AF439E #68AF43 #43AF8A
monochromatic
#56214E #833276 #AF439E #C669B7 #D796CC

Accessibility & contrast

On white

5.10
#AF439E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AF439E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF439E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF439E#FFFFFF#000000##FFFFFF
##AF439E1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4264A1
Deuteranopia (green-blind)
#64749B
Tritanopia (blue-blind)
#B74A6A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af439e;
/* rgb */ color: rgb(175, 67, 158);
/* oklch */ color: oklch(56.1% 0.176 334.3);
Tailwind
colors: {
  custom: {
    50: '#ca7ebb',
    500: '#af439e',
    950: '#000000',
  },
}
SCSS
$custom: #af439e;
$custom-light: #ca7ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#af439e",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 158
  },
  "hsl": {
    "h": 309.444,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56122,
    "c": 0.17619,
    "h": 334.3
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#AF439E
secondary
#8BC294
accent
#D46853
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF439E

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

Preview Lab → · Contrast checker → · Palette generator →

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