#AF5EBB#AF5EBB

#AF5EBB is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.1% C 0.160 H 322.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF5EBB
RGBrgb(175, 94, 187)
HSLhsl(292, 41%, 55%)
HSVhsv(292, 50%, 73%)
CMYKcmyk(6.4%, 49.7%, 0%, 26.7%)
CIE-LABlab(52.63, 47.06, -35.34)
CIE-LCHlch(52.63, 58.85, 323.09°)
OKLaboklab(61.11% 0.1263 -0.0976)
OKLCHoklch(61.11% 0.16 322.3)
XYZxyz(30.6506, 20.7086, 49.3867)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EBB #6ABB5E
analogous
#805EBB #AF5EBB #BB5E98
triadic
#AF5EBB #BBAF5E #5EBBAF
tetradic
#AF5EBB #BB805E #6ABB5E #5E98BB
square
#AF5EBB #BB805E #6ABB5E #5E98BB
split-complementary
#AF5EBB #98BB5E #5EBB80
monochromatic
#672F70 #8F419B #AF5EBB #C489CD #DAB4DF

Accessibility & contrast

On white

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

On black

5.14
#AF5EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EBB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EBB#FFFFFF#000000##000000
##AF5EBB1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BE
Deuteranopia (green-blind)
#6981B8
Tritanopia (blue-blind)
#B16A84
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af5ebb;
/* rgb */ color: rgb(175, 94, 187);
/* oklch */ color: oklch(61.1% 0.160 322.3);
Tailwind
colors: {
  custom: {
    50: '#c98fd0',
    500: '#af5ebb',
    950: '#000000',
  },
}
SCSS
$custom: #af5ebb;
$custom-light: #c98fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ebb",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 187
  },
  "hsl": {
    "h": 292.258,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61115,
    "c": 0.15958,
    "h": 322.3
  },
  "luminance": 0.20707
}

Semantic roles & 50–950 ramp

primary
#AF5EBB
secondary
#ACCEA7
accent
#D05767
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130D14
muted
#827D82

Preview Lab

Preview with #AF5EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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