#AF2EBD#AF2EBD

#AF2EBD is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.8% C 0.227 H 323.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF2EBD
RGBrgb(175, 46, 189)
HSLhsl(294, 61%, 46%)
HSVhsv(294, 76%, 74%)
CMYKcmyk(7.4%, 75.7%, 0%, 25.9%)
CIE-LABlab(45.28, 67.92, -48.14)
CIE-LCHlch(45.28, 83.25, 324.67°)
OKLaboklab(55.81% 0.1824 -0.1344)
OKLCHoklch(55.81% 0.227 323.6)
XYZxyz(27.8407, 14.7438, 49.5137)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2EBD #3CBD2E
analogous
#672EBD #AF2EBD #BD2E83
triadic
#AF2EBD #BDAF2E #2EBDAF
tetradic
#AF2EBD #BD672E #3CBD2E #2E83BD
square
#AF2EBD #BD672E #3CBD2E #2E83BD
split-complementary
#AF2EBD #83BD2E #2EBD67
monochromatic
#54165B #81228C #AF2EBD #C853D5 #D884E1

Accessibility & contrast

On white

5.32
#AF2EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AF2EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2EBD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2EBD#FFFFFF#000000##FFFFFF
##AF2EBD1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#4870BA
Tritanopia (blue-blind)
#B24974
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af2ebd;
/* rgb */ color: rgb(175, 46, 189);
/* oklch */ color: oklch(55.8% 0.227 323.6);
Tailwind
colors: {
  custom: {
    50: '#cb75d1',
    500: '#af2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #af2ebd;
$custom-light: #cb75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af2ebd",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 294.126,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55814,
    "c": 0.22657,
    "h": 323.6
  },
  "luminance": 0.14742
}

Semantic roles & 50–950 ramp

primary
#AF2EBD
secondary
#84CA7C
accent
#E44454
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AF2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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