#AF3EE3#AF3EE3

#AF3EE3 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.7% C 0.242 H 312.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AF3EE3
RGBrgb(175, 62, 227)
HSLhsl(281, 75%, 57%)
HSVhsv(281, 73%, 89%)
CMYKcmyk(22.9%, 72.7%, 0%, 11%)
CIE-LABlab(49.62, 69.49, -63.01)
CIE-LCHlch(49.62, 93.81, 317.80°)
OKLaboklab(59.67% 0.164 -0.1781)
OKLCHoklch(59.67% 0.242 312.6)
XYZxyz(33.2645, 18.1062, 74.4007)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EE3 #72E33E
analogous
#5D3EE3 #AF3EE3 #E33EC5
triadic
#AF3EE3 #E3AF3E #3EE3AF
tetradic
#AF3EE3 #E35D3E #72E33E #3EC5E3
square
#AF3EE3 #E35D3E #72E33E #3EC5E3
split-complementary
#AF3EE3 #C5E33E #3EE35D
monochromatic
#6A1591 #911DC7 #AF3EE3 #C573EB #DBA9F3

Accessibility & contrast

On white

4.54
#AF3EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AF3EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF3EE3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EE3#FFFFFF#000000##000000
##AF3EE31.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#2B78DF
Tritanopia (blue-blind)
#A9638E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af3ee3;
/* rgb */ color: rgb(175, 62, 227);
/* oklch */ color: oklch(59.7% 0.242 312.6);
Tailwind
colors: {
  custom: {
    50: '#cc7eed',
    500: '#af3ee3',
    950: '#000000',
  },
}
SCSS
$custom: #af3ee3;
$custom-light: #cc7eed;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ee3",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 227
  },
  "hsl": {
    "h": 281.091,
    "s": 74.661,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59666,
    "c": 0.24211,
    "h": 312.6
  },
  "luminance": 0.18105
}

Semantic roles & 50–950 ramp

primary
#AF3EE3
secondary
#B2E09D
accent
#F13771
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #AF3EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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