#AF3EB3#AF3EB3

#AF3EB3 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.7% C 0.200 H 326.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AF3EB3
RGBrgb(175, 62, 179)
HSLhsl(298, 49%, 47%)
HSVhsv(298, 65%, 70%)
CMYKcmyk(2.2%, 65.4%, 0%, 29.8%)
CIE-LABlab(46.73, 60.46, -39.98)
CIE-LCHlch(46.73, 72.48, 326.53°)
OKLaboklab(56.67% 0.1667 -0.1107)
OKLCHoklch(56.67% 0.2 326.4)
XYZxyz(27.5380, 15.8157, 44.2414)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EB3 #42B33E
analogous
#753EB3 #AF3EB3 #B33E7C
triadic
#AF3EB3 #B3AF3E #3EB3AF
tetradic
#AF3EB3 #B3753E #42B33E #3E7CB3
square
#AF3EB3 #B3753E #42B33E #3E7CB3
split-complementary
#AF3EB3 #7CB33E #3EB375
monochromatic
#561F58 #832E86 #AF3EB3 #C665CA #D792D9

Accessibility & contrast

On white

5.04
#AF3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AF3EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EB3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EB3#FFFFFF#000000##FFFFFF
##AF3EB31.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A66B6
Deuteranopia (green-blind)
#5774B0
Tritanopia (blue-blind)
#B44F73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3eb3;
/* rgb */ color: rgb(175, 62, 179);
/* oklch */ color: oklch(56.7% 0.200 326.4);
Tailwind
colors: {
  custom: {
    50: '#ca7cca',
    500: '#af3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #af3eb3;
$custom-light: #ca7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#af3eb3",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 297.949,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56671,
    "c": 0.20014,
    "h": 326.4
  },
  "luminance": 0.15814
}

Semantic roles & 50–950 ramp

primary
#AF3EB3
secondary
#8AC588
accent
#D85054
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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