#AF3EBF#AF3EBF

#AF3EBF is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.4% C 0.210 H 322.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AF3EBF
RGBrgb(175, 62, 191)
HSLhsl(293, 51%, 50%)
HSVhsv(293, 68%, 75%)
CMYKcmyk(8.4%, 67.5%, 0%, 25.1%)
CIE-LABlab(47.39, 62.60, -45.93)
CIE-LCHlch(47.39, 77.64, 323.73°)
OKLaboklab(57.36% 0.1669 -0.1281)
OKLCHoklch(57.36% 0.21 322.5)
XYZxyz(28.8048, 16.3224, 50.9134)
Luminance0.1632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EBF #4EBF3E
analogous
#6F3EBF #AF3EBF #BF3E8F
triadic
#AF3EBF #BFAF3E #3EBFAF
tetradic
#AF3EBF #BF6F3E #4EBF3E #3E8FBF
square
#AF3EBF #BF6F3E #4EBF3E #3E8FBF
split-complementary
#AF3EBF #8FBF3E #3EBF6F
monochromatic
#5A2063 #852F91 #AF3EBF #C36BCF #D699DE

Accessibility & contrast

On white

4.92
#AF3EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AF3EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EBF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EBF#FFFFFF#000000##FFFFFF
##AF3EBF1.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1868C3
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#B1547A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3ebf;
/* rgb */ color: rgb(175, 62, 191);
/* oklch */ color: oklch(57.4% 0.210 322.5);
Tailwind
colors: {
  custom: {
    50: '#ca7cd3',
    500: '#af3ebf',
    950: '#000000',
  },
}
SCSS
$custom: #af3ebf;
$custom-light: #ca7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ebf",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 292.558,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57362,
    "c": 0.21034,
    "h": 322.5
  },
  "luminance": 0.16321
}

Semantic roles & 50–950 ramp

primary
#AF3EBF
secondary
#96CA8F
accent
#DA4D5F
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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