#AF3EA0#AF3EA0

#AF3EA0 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.7% C 0.185 H 333.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF3EA0
RGBrgb(175, 62, 160)
HSLhsl(308, 48%, 46%)
HSVhsv(308, 65%, 69%)
CMYKcmyk(0%, 64.6%, 8.6%, 31.4%)
CIE-LABlab(45.77, 57.27, -30.25)
CIE-LCHlch(45.77, 64.77, 332.15°)
OKLaboklab(55.66% 0.1653 -0.0827)
OKLCHoklch(55.66% 0.185 333.4)
XYZxyz(25.7471, 15.0993, 34.8093)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EA0 #3EAF4D
analogous
#863EAF #AF3EA0 #AF3E68
triadic
#AF3EA0 #A0AF3E #3EA0AF
tetradic
#AF3EA0 #AF863E #3EAF4D #3E68AF
square
#AF3EA0 #AF863E #3EAF4D #3E68AF
split-complementary
#AF3EA0 #68AF3E #3EAF86
monochromatic
#551E4D #822E77 #AF3EA0 #C863BA #D890CE

Accessibility & contrast

On white

5.22
#AF3EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF3EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EA0
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EA0#FFFFFF#000000##FFFFFF
##AF3EA01.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B62A3
Deuteranopia (green-blind)
#61729D
Tritanopia (blue-blind)
#B74769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3ea0;
/* rgb */ color: rgb(175, 62, 160);
/* oklch */ color: oklch(55.7% 0.185 333.4);
Tailwind
colors: {
  custom: {
    50: '#ca7bbc',
    500: '#af3ea0',
    950: '#000000',
  },
}
SCSS
$custom: #af3ea0;
$custom-light: #ca7bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ea0",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 307.965,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55661,
    "c": 0.1848,
    "h": 333.4
  },
  "luminance": 0.15097
}

Semantic roles & 50–950 ramp

primary
#AF3EA0
secondary
#86C38E
accent
#D76251
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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