#AF6ECD#AF6ECD

#AF6ECD is a light, vivid purple. Relative luminance 0.247; OKLCH L 64.5% C 0.152 H 314.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AF6ECD
RGBrgb(175, 110, 205)
HSLhsl(281, 49%, 62%)
HSVhsv(281, 46%, 80%)
CMYKcmyk(14.6%, 46.3%, 0%, 19.6%)
CIE-LABlab(56.76, 42.28, -39.16)
CIE-LCHlch(56.76, 57.63, 317.19°)
OKLaboklab(64.46% 0.1062 -0.1087)
OKLCHoklch(64.46% 0.152 314.3)
XYZxyz(34.2728, 24.6745, 60.7030)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6ECD #8CCD6E
analogous
#806ECD #AF6ECD #CD6EBB
triadic
#AF6ECD #CDAF6E #6ECDAF
tetradic
#AF6ECD #CD806E #8CCD6E #6EBBCD
square
#AF6ECD #CD806E #8CCD6E #6EBBCD
split-complementary
#AF6ECD #BBCD6E #6ECD80
monochromatic
#72318F #9641BD #AF6ECD #C89CDD #E1C9EC

Accessibility & contrast

On white

3.54
#AF6ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#AF6ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6ECD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6ECD#FFFFFF#000000##000000
##AF6ECD1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84D0
Deuteranopia (green-blind)
#6D8ACA
Tritanopia (blue-blind)
#AD7C94
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af6ecd;
/* rgb */ color: rgb(175, 110, 205);
/* oklch */ color: oklch(64.5% 0.152 314.3);
Tailwind
colors: {
  custom: {
    50: '#c999dc',
    500: '#af6ecd',
    950: '#000000',
  },
}
SCSS
$custom: #af6ecd;
$custom-light: #c999dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ecd",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 205
  },
  "hsl": {
    "h": 281.053,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6446,
    "c": 0.152,
    "h": 314.3
  },
  "luminance": 0.24674
}

Semantic roles & 50–950 ramp

primary
#AF6ECD
secondary
#C5DDBA
accent
#BC2958
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF6ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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