#AF6ECE#AF6ECE

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

Color values

HEX#AF6ECE
RGBrgb(175, 110, 206)
HSLhsl(281, 49%, 62%)
HSVhsv(281, 47%, 81%)
CMYKcmyk(15%, 46.6%, 0%, 19.2%)
CIE-LABlab(56.80, 42.49, -39.66)
CIE-LCHlch(56.80, 58.12, 316.98°)
OKLaboklab(64.51% 0.1064 -0.1101)
OKLCHoklch(64.51% 0.153 314)
XYZxyz(34.3939, 24.7229, 61.3407)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6ECE #8DCE6E
analogous
#7F6ECE #AF6ECE #CE6EBD
triadic
#AF6ECE #CEAF6E #6ECEAF
tetradic
#AF6ECE #CE7F6E #8DCE6E #6EBDCE
square
#AF6ECE #CE7F6E #8DCE6E #6EBDCE
split-complementary
#AF6ECE #BDCE6E #6ECE7F
monochromatic
#723191 #9640BE #AF6ECE #C89CDD #E1C9ED

Accessibility & contrast

On white

3.53
#AF6ECE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#AF6ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6ECE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6ECE#FFFFFF#000000##000000
##AF6ECE1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af6ece;
/* rgb */ color: rgb(175, 110, 206);
/* oklch */ color: oklch(64.5% 0.153 314.0);
Tailwind
colors: {
  custom: {
    50: '#c999dd',
    500: '#af6ece',
    950: '#000000',
  },
}
SCSS
$custom: #af6ece;
$custom-light: #c999dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ece",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 206
  },
  "hsl": {
    "h": 280.625,
    "s": 49.485,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64511,
    "c": 0.15313,
    "h": 314
  },
  "luminance": 0.24722
}

Semantic roles & 50–950 ramp

primary
#AF6ECE
secondary
#C6DEBA
accent
#BD2959
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF6ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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