#AF3EBB#AF3EBB

#AF3EBB is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.207 H 323.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF3EBB
RGBrgb(175, 62, 187)
HSLhsl(294, 50%, 49%)
HSVhsv(294, 67%, 73%)
CMYKcmyk(6.4%, 66.8%, 0%, 26.7%)
CIE-LABlab(47.17, 61.87, -43.96)
CIE-LCHlch(47.17, 75.90, 324.61°)
OKLaboklab(57.13% 0.1669 -0.1223)
OKLCHoklch(57.13% 0.207 323.8)
XYZxyz(28.3707, 16.1487, 48.6267)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EBB #4ABB3E
analogous
#713EBB #AF3EBB #BB3E89
triadic
#AF3EBB #BBAF3E #3EBBAF
tetradic
#AF3EBB #BB713E #4ABB3E #3E89BB
square
#AF3EBB #BB713E #4ABB3E #3E89BB
split-complementary
#AF3EBB #89BB3E #3EBB71
monochromatic
#59205F #842F8D #AF3EBB #C469CD #D697DC

Accessibility & contrast

On white

4.97
#AF3EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AF3EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EBB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EBB#FFFFFF#000000##FFFFFF
##AF3EBB1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BF
Deuteranopia (green-blind)
#5374B8
Tritanopia (blue-blind)
#B25278
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3ebb;
/* rgb */ color: rgb(175, 62, 187);
/* oklch */ color: oklch(57.1% 0.207 323.8);
Tailwind
colors: {
  custom: {
    50: '#ca7cd0',
    500: '#af3ebb',
    950: '#000000',
  },
}
SCSS
$custom: #af3ebb;
$custom-light: #ca7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ebb",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 294.24,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57127,
    "c": 0.20691,
    "h": 323.8
  },
  "luminance": 0.16147
}

Semantic roles & 50–950 ramp

primary
#AF3EBB
secondary
#92C88D
accent
#DA4E5B
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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