#AF3EE1#AF3EE1

#AF3EE1 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.5% C 0.240 H 313.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AF3EE1
RGBrgb(175, 62, 225)
HSLhsl(282, 73%, 56%)
HSVhsv(282, 72%, 88%)
CMYKcmyk(22.2%, 72.4%, 0%, 11.8%)
CIE-LABlab(49.49, 69.09, -62.09)
CIE-LCHlch(49.49, 92.89, 318.05°)
OKLaboklab(59.53% 0.1643 -0.1754)
OKLCHoklch(59.53% 0.24 313.1)
XYZxyz(32.9900, 17.9965, 72.9554)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EE1 #70E13E
analogous
#5E3EE1 #AF3EE1 #E13EC2
triadic
#AF3EE1 #E1AF3E #3EE1AF
tetradic
#AF3EE1 #E15E3E #70E13E #3EC2E1
square
#AF3EE1 #E15E3E #70E13E #3EC2E1
split-complementary
#AF3EE1 #C2E13E #3EE15E
monochromatic
#6A168E #911EC3 #AF3EE1 #C573E9 #DBA8F1

Accessibility & contrast

On white

4.57
#AF3EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AF3EE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF3EE1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EE1#FFFFFF#000000##000000
##AF3EE11.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#2E78DD
Tritanopia (blue-blind)
#AA628C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af3ee1;
/* rgb */ color: rgb(175, 62, 225);
/* oklch */ color: oklch(59.5% 0.240 313.1);
Tailwind
colors: {
  custom: {
    50: '#cc7eeb',
    500: '#af3ee1',
    950: '#000000',
  },
}
SCSS
$custom: #af3ee1;
$custom-light: #cc7eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ee1",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 225
  },
  "hsl": {
    "h": 281.595,
    "s": 73.094,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59529,
    "c": 0.24031,
    "h": 313.1
  },
  "luminance": 0.17995
}

Semantic roles & 50–950 ramp

primary
#AF3EE1
secondary
#B0DF9C
accent
#F03870
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #AF3EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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