#AF3FE3#AF3FE3

#AF3FE3 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.8% C 0.241 H 312.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF3FE3
RGBrgb(175, 63, 227)
HSLhsl(281, 75%, 57%)
HSVhsv(281, 72%, 89%)
CMYKcmyk(22.9%, 72.2%, 0%, 11%)
CIE-LABlab(49.76, 69.12, -62.80)
CIE-LCHlch(49.76, 93.38, 317.74°)
OKLaboklab(59.76% 0.1631 -0.1775)
OKLCHoklch(59.76% 0.241 312.6)
XYZxyz(33.3193, 18.2160, 74.4190)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FE3 #73E33F
analogous
#5D3FE3 #AF3FE3 #E33FC5
triadic
#AF3FE3 #E3AF3F #3FE3AF
tetradic
#AF3FE3 #E35D3F #73E33F #3FC5E3
square
#AF3FE3 #E35D3F #73E33F #3FC5E3
split-complementary
#AF3FE3 #C5E33F #3FE35D
monochromatic
#6B1592 #921DC8 #AF3FE3 #C574EB #DCAAF3

Accessibility & contrast

On white

4.52
#AF3FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AF3FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF3FE3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FE3#FFFFFF#000000##000000
##AF3FE31.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3fe3;
/* rgb */ color: rgb(175, 63, 227);
/* oklch */ color: oklch(59.8% 0.241 312.6);
Tailwind
colors: {
  custom: {
    50: '#cc7eed',
    500: '#af3fe3',
    950: '#000000',
  },
}
SCSS
$custom: #af3fe3;
$custom-light: #cc7eed;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fe3",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 227
  },
  "hsl": {
    "h": 280.976,
    "s": 74.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5976,
    "c": 0.24101,
    "h": 312.6
  },
  "luminance": 0.18215
}

Semantic roles & 50–950 ramp

primary
#AF3FE3
secondary
#B3E09D
accent
#F13772
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #AF3FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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