#AF34C1#AF34C1

#AF34C1 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.224 H 322.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF34C1
RGBrgb(175, 52, 193)
HSLhsl(292, 58%, 48%)
HSVhsv(292, 73%, 76%)
CMYKcmyk(9.3%, 73.1%, 0%, 24.3%)
CIE-LABlab(46.21, 66.65, -48.99)
CIE-LCHlch(46.21, 82.72, 323.68°)
OKLaboklab(56.55% 0.1768 -0.1369)
OKLCHoklch(56.55% 0.224 322.2)
XYZxyz(28.5318, 15.4218, 51.9156)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF34C1 #46C134
analogous
#6834C1 #AF34C1 #C1348D
triadic
#AF34C1 #C1AF34 #34C1AF
tetradic
#AF34C1 #C16834 #46C134 #348DC1
square
#AF34C1 #C16834 #46C134 #348DC1
split-complementary
#AF34C1 #8DC134 #34C168
monochromatic
#581A61 #832791 #AF34C1 #C55ED4 #D68FE1

Accessibility & contrast

On white

5.14
#AF34C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AF34C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF34C1
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF34C1#FFFFFF#000000##FFFFFF
##AF34C11.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#4872BE
Tritanopia (blue-blind)
#B14E78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af34c1;
/* rgb */ color: rgb(175, 52, 193);
/* oklch */ color: oklch(56.5% 0.224 322.2);
Tailwind
colors: {
  custom: {
    50: '#cb78d4',
    500: '#af34c1',
    950: '#000000',
  },
}
SCSS
$custom: #af34c1;
$custom-light: #cb78d4;
$custom-dark: #000000;
JSON
{
  "hex": "#af34c1",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 292.34,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5655,
    "c": 0.22362,
    "h": 322.2
  },
  "luminance": 0.1542
}

Semantic roles & 50–950 ramp

primary
#AF34C1
secondary
#8ECB86
accent
#E1475B
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF34C1

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

Preview Lab → · Contrast checker → · Palette generator →

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