#AF6EBD#AF6EBD

#AF6EBD is a light, vivid purple. Relative luminance 0.239; OKLCH L 63.7% C 0.134 H 320.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AF6EBD
RGBrgb(175, 110, 189)
HSLhsl(289, 37%, 59%)
HSVhsv(289, 42%, 74%)
CMYKcmyk(7.4%, 41.8%, 0%, 25.9%)
CIE-LABlab(56.03, 38.95, -31.18)
CIE-LCHlch(56.03, 49.89, 321.32°)
OKLaboklab(63.68% 0.1034 -0.0858)
OKLCHoklch(63.68% 0.134 320.3)
XYZxyz(32.4393, 23.9411, 51.0465)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6EBD #7CBD6E
analogous
#876EBD #AF6EBD #BD6EA3
triadic
#AF6EBD #BDAF6E #6EBDAF
tetradic
#AF6EBD #BD876E #7CBD6E #6EA3BD
square
#AF6EBD #BD876E #7CBD6E #6EA3BD
split-complementary
#AF6EBD #A3BD6E #6EBD87
monochromatic
#6E3779 #944AA3 #AF6EBD #C698D0 #DDC2E3

Accessibility & contrast

On white

3.63
#AF6EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#AF6EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6EBD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6EBD#FFFFFF#000000##000000
##AF6EBD1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6382C0
Deuteranopia (green-blind)
#7489BB
Tritanopia (blue-blind)
#B0788D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af6ebd;
/* rgb */ color: rgb(175, 110, 189);
/* oklch */ color: oklch(63.7% 0.134 320.3);
Tailwind
colors: {
  custom: {
    50: '#c899d1',
    500: '#af6ebd',
    950: '#000000',
  },
}
SCSS
$custom: #af6ebd;
$custom-light: #c899d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ebd",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 189
  },
  "hsl": {
    "h": 289.367,
    "s": 37.441,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63677,
    "c": 0.13435,
    "h": 320.3
  },
  "luminance": 0.2394
}

Semantic roles & 50–950 ramp

primary
#AF6EBD
secondary
#B9D3B4
accent
#CD5A6F
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF6EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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