#AF5EBC#AF5EBC

#AF5EBC is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.2% C 0.161 H 321.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AF5EBC
RGBrgb(175, 94, 188)
HSLhsl(292, 41%, 55%)
HSVhsv(292, 50%, 74%)
CMYKcmyk(6.9%, 50%, 0%, 26.3%)
CIE-LABlab(52.68, 47.26, -35.84)
CIE-LCHlch(52.68, 59.31, 322.82°)
OKLaboklab(61.17% 0.1264 -0.099)
OKLCHoklch(61.17% 0.161 321.9)
XYZxyz(30.7580, 20.7515, 49.9525)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EBC #6BBC5E
analogous
#805EBC #AF5EBC #BC5E9A
triadic
#AF5EBC #BCAF5E #5EBCAF
tetradic
#AF5EBC #BC805E #6BBC5E #5E9ABC
square
#AF5EBC #BC805E #6BBC5E #5E9ABC
split-complementary
#AF5EBC #9ABC5E #5EBC80
monochromatic
#682F71 #8F419C #AF5EBC #C489CE #DAB4E0

Accessibility & contrast

On white

4.08
#AF5EBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#AF5EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EBC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EBC#FFFFFF#000000##000000
##AF5EBC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078BF
Deuteranopia (green-blind)
#6881B9
Tritanopia (blue-blind)
#B16A84
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af5ebc;
/* rgb */ color: rgb(175, 94, 188);
/* oklch */ color: oklch(61.2% 0.161 321.9);
Tailwind
colors: {
  custom: {
    50: '#c98fd0',
    500: '#af5ebc',
    950: '#000000',
  },
}
SCSS
$custom: #af5ebc;
$custom-light: #c98fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ebc",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 188
  },
  "hsl": {
    "h": 291.702,
    "s": 41.228,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61165,
    "c": 0.16058,
    "h": 321.9
  },
  "luminance": 0.2075
}

Semantic roles & 50–950 ramp

primary
#AF5EBC
secondary
#ADCFA7
accent
#D15768
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130D14
muted
#827D82

Preview Lab

Preview with #AF5EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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