#AF3EBE#AF3EBE

#AF3EBE is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.209 H 322.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AF3EBE
RGBrgb(175, 62, 190)
HSLhsl(293, 51%, 49%)
HSVhsv(293, 67%, 75%)
CMYKcmyk(7.9%, 67.4%, 0%, 25.5%)
CIE-LABlab(47.34, 62.42, -45.44)
CIE-LCHlch(47.34, 77.21, 323.94°)
OKLaboklab(57.3% 0.1669 -0.1266)
OKLCHoklch(57.3% 0.209 322.8)
XYZxyz(28.6952, 16.2785, 50.3358)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EBE #4DBE3E
analogous
#6F3EBE #AF3EBE #BE3E8D
triadic
#AF3EBE #BEAF3E #3EBEAF
tetradic
#AF3EBE #BE6F3E #4DBE3E #3E8DBE
square
#AF3EBE #BE6F3E #4DBE3E #3E8DBE
split-complementary
#AF3EBE #8DBE3E #3EBE6F
monochromatic
#5A2062 #852F90 #AF3EBE #C36BCF #D699DE

Accessibility & contrast

On white

4.93
#AF3EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3EBE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EBE#FFFFFF#000000##FFFFFF
##AF3EBE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C2
Deuteranopia (green-blind)
#5175BB
Tritanopia (blue-blind)
#B25379
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3ebe;
/* rgb */ color: rgb(175, 62, 190);
/* oklch */ color: oklch(57.3% 0.209 322.8);
Tailwind
colors: {
  custom: {
    50: '#ca7cd2',
    500: '#af3ebe',
    950: '#000000',
  },
}
SCSS
$custom: #af3ebe;
$custom-light: #ca7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ebe",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 292.969,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57303,
    "c": 0.20948,
    "h": 322.8
  },
  "luminance": 0.16277
}

Semantic roles & 50–950 ramp

primary
#AF3EBE
secondary
#95C98E
accent
#DA4E5E
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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