#AF34C3#AF34C3

#AF34C3 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.7% C 0.225 H 321.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AF34C3
RGBrgb(175, 52, 195)
HSLhsl(292, 58%, 48%)
HSVhsv(292, 73%, 76%)
CMYKcmyk(10.3%, 73.3%, 0%, 23.5%)
CIE-LABlab(46.33, 67.01, -49.96)
CIE-LCHlch(46.33, 83.59, 323.29°)
OKLaboklab(56.67% 0.1767 -0.1398)
OKLCHoklch(56.67% 0.225 321.7)
XYZxyz(28.7564, 15.5117, 53.0985)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF34C3 #48C334
analogous
#6734C3 #AF34C3 #C3348F
triadic
#AF34C3 #C3AF34 #34C3AF
tetradic
#AF34C3 #C36734 #48C334 #348FC3
square
#AF34C3 #C36734 #48C334 #348FC3
split-complementary
#AF34C3 #8FC334 #34C367
monochromatic
#581A62 #842793 #AF34C3 #C460D5 #D690E1

Accessibility & contrast

On white

5.12
#AF34C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AF34C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF34C3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF34C3#FFFFFF#000000##FFFFFF
##AF34C31.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#4772C0
Tritanopia (blue-blind)
#B14F79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af34c3;
/* rgb */ color: rgb(175, 52, 195);
/* oklch */ color: oklch(56.7% 0.225 321.7);
Tailwind
colors: {
  custom: {
    50: '#cb78d6',
    500: '#af34c3',
    950: '#000000',
  },
}
SCSS
$custom: #af34c3;
$custom-light: #cb78d6;
$custom-dark: #000000;
JSON
{
  "hex": "#af34c3",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 291.608,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.22527,
    "h": 321.7
  },
  "luminance": 0.1551
}

Semantic roles & 50–950 ramp

primary
#AF34C3
secondary
#90CC87
accent
#E1475C
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF34C3

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

Preview Lab → · Contrast checker → · Palette generator →

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