#AF3EC9#AF3EC9

#AF3EC9 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.219 H 319.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AF3EC9
RGBrgb(175, 62, 201)
HSLhsl(289, 56%, 52%)
HSVhsv(289, 69%, 79%)
CMYKcmyk(12.9%, 69.2%, 0%, 21.2%)
CIE-LABlab(47.98, 64.45, -50.79)
CIE-LCHlch(47.98, 82.06, 321.76°)
OKLaboklab(57.97% 0.1665 -0.1423)
OKLCHoklch(57.97% 0.219 319.5)
XYZxyz(29.9431, 16.7777, 56.9082)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EC9 #58C93E
analogous
#6A3EC9 #AF3EC9 #C93E9E
triadic
#AF3EC9 #C9AF3E #3EC9AF
tetradic
#AF3EC9 #C96A3E #58C93E #3E9EC9
square
#AF3EC9 #C96A3E #58C93E #3E9EC9
split-complementary
#AF3EC9 #9EC93E #3EC96A
monochromatic
#5F1F6E #882C9E #AF3EC9 #C36ED6 #D79EE4

Accessibility & contrast

On white

4.82
#AF3EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AF3EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EC9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EC9#FFFFFF#000000##FFFFFF
##AF3EC91.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#4976C6
Tritanopia (blue-blind)
#AF587F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3ec9;
/* rgb */ color: rgb(175, 62, 201);
/* oklch */ color: oklch(58.0% 0.219 319.5);
Tailwind
colors: {
  custom: {
    50: '#cb7dda',
    500: '#af3ec9',
    950: '#000000',
  },
}
SCSS
$custom: #af3ec9;
$custom-light: #cb7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ec9",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 201
  },
  "hsl": {
    "h": 288.777,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57969,
    "c": 0.21902,
    "h": 319.5
  },
  "luminance": 0.16776
}

Semantic roles & 50–950 ramp

primary
#AF3EC9
secondary
#9ED093
accent
#E04865
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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