#AF4EBE#AF4EBE

#AF4EBE is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.188 H 322.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AF4EBE
RGBrgb(175, 78, 190)
HSLhsl(292, 46%, 53%)
HSVhsv(292, 59%, 75%)
CMYKcmyk(7.9%, 58.9%, 0%, 25.5%)
CIE-LABlab(49.84, 55.51, -41.48)
CIE-LCHlch(49.84, 69.29, 323.23°)
OKLaboklab(59.11% 0.148 -0.1152)
OKLCHoklch(59.11% 0.188 322.1)
XYZxyz(29.6969, 18.2819, 50.6697)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4EBE #5DBE4E
analogous
#774EBE #AF4EBE #BE4E95
triadic
#AF4EBE #BEAF4E #4EBEAF
tetradic
#AF4EBE #BE774E #5DBE4E #4E95BE
square
#AF4EBE #BE774E #5DBE4E #4E95BE
split-complementary
#AF4EBE #95BE4E #4EBE77
monochromatic
#61276A #8A3897 #AF4EBE #C37BCE #D7A8DF

Accessibility & contrast

On white

4.51
#AF4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AF4EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4EBE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4EBE#FFFFFF#000000##000000
##AF4EBE1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#386FC1
Deuteranopia (green-blind)
#5B7ABB
Tritanopia (blue-blind)
#B15F7F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4ebe;
/* rgb */ color: rgb(175, 78, 190);
/* oklch */ color: oklch(59.1% 0.188 322.1);
Tailwind
colors: {
  custom: {
    50: '#ca85d2',
    500: '#af4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #af4ebe;
$custom-light: #ca85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ebe",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 291.964,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59112,
    "c": 0.1876,
    "h": 322.1
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#AF4EBE
secondary
#A2CC9C
accent
#D65264
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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