#AF4EBF#AF4EBF

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

Color values

HEX#AF4EBF
RGBrgb(175, 78, 191)
HSLhsl(292, 47%, 53%)
HSVhsv(292, 59%, 75%)
CMYKcmyk(8.4%, 59.2%, 0%, 25.1%)
CIE-LABlab(49.89, 55.70, -41.97)
CIE-LCHlch(49.89, 69.74, 323.00°)
OKLaboklab(59.17% 0.1481 -0.1166)
OKLCHoklch(59.17% 0.189 321.8)
XYZxyz(29.8065, 18.3258, 51.2473)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4EBF #5EBF4E
analogous
#764EBF #AF4EBF #BF4E97
triadic
#AF4EBF #BFAF4E #4EBFAF
tetradic
#AF4EBF #BF764E #5EBF4E #4E97BF
square
#AF4EBF #BF764E #5EBF4E #4E97BF
split-complementary
#AF4EBF #97BF4E #4EBF76
monochromatic
#62276C #8B3799 #AF4EBF #C37BCF #D8A8E0

Accessibility & contrast

On white

4.50
#AF4EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4EBF#FFFFFF#000000##000000
##AF4EBF1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3770C3
Deuteranopia (green-blind)
#5B7ABC
Tritanopia (blue-blind)
#B15F7F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af4ebf;
/* rgb */ color: rgb(175, 78, 191);
/* oklch */ color: oklch(59.2% 0.189 321.8);
Tailwind
colors: {
  custom: {
    50: '#ca85d3',
    500: '#af4ebf',
    950: '#000000',
  },
}
SCSS
$custom: #af4ebf;
$custom-light: #ca85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ebf",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 291.504,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59167,
    "c": 0.18853,
    "h": 321.8
  },
  "luminance": 0.18324
}

Semantic roles & 50–950 ramp

primary
#AF4EBF
secondary
#A3CD9C
accent
#D75164
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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