#AF6DC8#AF6DC8

#AF6DC8 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.0% C 0.148 H 316.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AF6DC8
RGBrgb(175, 109, 200)
HSLhsl(284, 45%, 61%)
HSVhsv(284, 46%, 78%)
CMYKcmyk(12.5%, 45.5%, 0%, 21.6%)
CIE-LABlab(56.31, 41.76, -37.02)
CIE-LCHlch(56.31, 55.81, 318.44°)
OKLaboklab(64.05% 0.1069 -0.1025)
OKLCHoklch(64.05% 0.148 316.2)
XYZxyz(33.5716, 24.2223, 57.5393)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DC8 #86C86D
analogous
#816DC8 #AF6DC8 #C86DB4
triadic
#AF6DC8 #C8AF6D #6DC8AF
tetradic
#AF6DC8 #C8816D #86C86D #6DB4C8
square
#AF6DC8 #C8816D #86C86D #6DB4C8
split-complementary
#AF6DC8 #B4C86D #6DC881
monochromatic
#703388 #9544B4 #AF6DC8 #C799D9 #E0C6E9

Accessibility & contrast

On white

3.59
#AF6DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#AF6DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DC8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DC8#FFFFFF#000000##000000
##AF6DC81.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CB
Deuteranopia (green-blind)
#6E89C5
Tritanopia (blue-blind)
#AE7A91
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af6dc8;
/* rgb */ color: rgb(175, 109, 200);
/* oklch */ color: oklch(64.0% 0.148 316.2);
Tailwind
colors: {
  custom: {
    50: '#c898d9',
    500: '#af6dc8',
    950: '#000000',
  },
}
SCSS
$custom: #af6dc8;
$custom-light: #c898d9;
$custom-dark: #000000;
JSON
{
  "hex": "#af6dc8",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 200
  },
  "hsl": {
    "h": 283.516,
    "s": 45.274,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6405,
    "c": 0.14811,
    "h": 316.2
  },
  "luminance": 0.24221
}

Semantic roles & 50–950 ramp

primary
#AF6DC8
secondary
#C1DAB7
accent
#B82D53
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #AF6DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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