#AF6ECA#AF6ECA

#AF6ECA is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.3% C 0.149 H 315.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AF6ECA
RGBrgb(175, 110, 202)
HSLhsl(282, 46%, 61%)
HSVhsv(282, 46%, 79%)
CMYKcmyk(13.4%, 45.5%, 0%, 20.8%)
CIE-LABlab(56.62, 41.64, -37.68)
CIE-LCHlch(56.62, 56.16, 317.86°)
OKLaboklab(64.31% 0.1058 -0.1044)
OKLCHoklch(64.31% 0.149 315.4)
XYZxyz(33.9142, 24.5310, 58.8141)
Luminance0.2453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6ECA #89CA6E
analogous
#816ECA #AF6ECA #CA6EB7
triadic
#AF6ECA #CAAF6E #6ECAAF
tetradic
#AF6ECA #CA816E #89CA6E #6EB7CA
square
#AF6ECA #CA816E #89CA6E #6EB7CA
split-complementary
#AF6ECA #B7CA6E #6ECA81
monochromatic
#71338B #9543B8 #AF6ECA #C89BDA #E0C8EB

Accessibility & contrast

On white

3.56
#AF6ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#AF6ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6ECA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6ECA#FFFFFF#000000##000000
##AF6ECA1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#6E8AC7
Tritanopia (blue-blind)
#AE7B92
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af6eca;
/* rgb */ color: rgb(175, 110, 202);
/* oklch */ color: oklch(64.3% 0.149 315.4);
Tailwind
colors: {
  custom: {
    50: '#c899da',
    500: '#af6eca',
    950: '#000000',
  },
}
SCSS
$custom: #af6eca;
$custom-light: #c899da;
$custom-dark: #000000;
JSON
{
  "hex": "#af6eca",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 282.391,
    "s": 46.465,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64308,
    "c": 0.14864,
    "h": 315.4
  },
  "luminance": 0.2453
}

Semantic roles & 50–950 ramp

primary
#AF6ECA
secondary
#C3DBB9
accent
#BA2C55
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF6ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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