#AF3EB0#AF3EB0

#AF3EB0 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.5% C 0.198 H 327.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AF3EB0
RGBrgb(175, 62, 176)
HSLhsl(299, 48%, 47%)
HSVhsv(299, 65%, 69%)
CMYKcmyk(0.6%, 64.8%, 0%, 31%)
CIE-LABlab(46.57, 59.94, -38.46)
CIE-LCHlch(46.57, 71.22, 327.31°)
OKLaboklab(56.5% 0.1666 -0.1063)
OKLCHoklch(56.5% 0.198 327.4)
XYZxyz(27.2379, 15.6956, 42.6608)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EB0 #3FB03E
analogous
#763EB0 #AF3EB0 #B03E78
triadic
#AF3EB0 #B0AF3E #3EB0AF
tetradic
#AF3EB0 #B0763E #3FB03E #3E78B0
square
#AF3EB0 #B0763E #3FB03E #3E78B0
split-complementary
#AF3EB0 #78B03E #3EB076
monochromatic
#551E55 #822E83 #AF3EB0 #C763C8 #D790D8

Accessibility & contrast

On white

5.07
#AF3EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AF3EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EB0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EB0#FFFFFF#000000##FFFFFF
##AF3EB01.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B3
Deuteranopia (green-blind)
#5974AD
Tritanopia (blue-blind)
#B44E72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3eb0;
/* rgb */ color: rgb(175, 62, 176);
/* oklch */ color: oklch(56.5% 0.198 327.4);
Tailwind
colors: {
  custom: {
    50: '#ca7cc8',
    500: '#af3eb0',
    950: '#000000',
  },
}
SCSS
$custom: #af3eb0;
$custom-light: #ca7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3eb0",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 299.474,
    "s": 47.899,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56504,
    "c": 0.19765,
    "h": 327.4
  },
  "luminance": 0.15694
}

Semantic roles & 50–950 ramp

primary
#AF3EB0
secondary
#87C387
accent
#D75051
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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