#AF4EBD#AF4EBD

#AF4EBD is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.1% C 0.187 H 322.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AF4EBD
RGBrgb(175, 78, 189)
HSLhsl(292, 46%, 52%)
HSVhsv(292, 59%, 74%)
CMYKcmyk(7.4%, 58.7%, 0%, 25.9%)
CIE-LABlab(49.78, 55.31, -40.98)
CIE-LCHlch(49.78, 68.84, 323.47°)
OKLaboklab(59.06% 0.148 -0.1138)
OKLCHoklch(59.06% 0.187 322.4)
XYZxyz(29.5879, 18.2384, 50.0961)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4EBD #5CBD4E
analogous
#774EBD #AF4EBD #BD4E94
triadic
#AF4EBD #BDAF4E #4EBDAF
tetradic
#AF4EBD #BD774E #5CBD4E #4E94BD
square
#AF4EBD #BD774E #5CBD4E #4E94BD
split-complementary
#AF4EBD #94BD4E #4EBD77
monochromatic
#612769 #8A3896 #AF4EBD #C37BCE #D7A7DE

Accessibility & contrast

On white

4.52
#AF4EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#AF4EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4EBD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4EBD#FFFFFF#000000##000000
##AF4EBD1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#396FC0
Deuteranopia (green-blind)
#5C7ABA
Tritanopia (blue-blind)
#B15E7E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4ebd;
/* rgb */ color: rgb(175, 78, 189);
/* oklch */ color: oklch(59.1% 0.187 322.4);
Tailwind
colors: {
  custom: {
    50: '#ca85d1',
    500: '#af4ebd',
    950: '#000000',
  },
}
SCSS
$custom: #af4ebd;
$custom-light: #ca85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ebd",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 292.432,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59057,
    "c": 0.18667,
    "h": 322.4
  },
  "luminance": 0.18237
}

Semantic roles & 50–950 ramp

primary
#AF4EBD
secondary
#A1CC9B
accent
#D55263
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF4EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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