#AF3E9E#AF3E9E

#AF3E9E is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.183 H 334.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF3E9E
RGBrgb(175, 62, 158)
HSLhsl(309, 48%, 46%)
HSVhsv(309, 65%, 69%)
CMYKcmyk(0%, 64.6%, 9.7%, 31.4%)
CIE-LABlab(45.68, 56.95, -29.21)
CIE-LCHlch(45.68, 64.00, 332.85°)
OKLaboklab(55.56% 0.165 -0.0797)
OKLCHoklch(55.56% 0.183 334.2)
XYZxyz(25.5735, 15.0299, 33.8953)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E9E #3EAF4F
analogous
#883EAF #AF3E9E #AF3E66
triadic
#AF3E9E #9EAF3E #3E9EAF
tetradic
#AF3E9E #AF883E #3EAF4F #3E66AF
square
#AF3E9E #AF883E #3EAF4F #3E66AF
split-complementary
#AF3E9E #66AF3E #3EAF88
monochromatic
#551E4C #822E75 #AF3E9E #C863B8 #D890CD

Accessibility & contrast

On white

5.24
#AF3E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF3E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E9E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E9E#FFFFFF#000000##FFFFFF
##AF3E9E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D62A1
Deuteranopia (green-blind)
#62729B
Tritanopia (blue-blind)
#B74668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3e9e;
/* rgb */ color: rgb(175, 62, 158);
/* oklch */ color: oklch(55.6% 0.183 334.2);
Tailwind
colors: {
  custom: {
    50: '#ca7bbb',
    500: '#af3e9e',
    950: '#000000',
  },
}
SCSS
$custom: #af3e9e;
$custom-light: #ca7bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e9e",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 158
  },
  "hsl": {
    "h": 309.027,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55561,
    "c": 0.18325,
    "h": 334.2
  },
  "luminance": 0.15028
}

Semantic roles & 50–950 ramp

primary
#AF3E9E
secondary
#86C38F
accent
#D76551
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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