#AF6ABC#AF6ABC

#AF6ABC is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.0% C 0.140 H 321.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AF6ABC
RGBrgb(175, 106, 188)
HSLhsl(290, 38%, 58%)
HSVhsv(290, 44%, 74%)
CMYKcmyk(6.9%, 43.6%, 0%, 26.3%)
CIE-LABlab(55.13, 40.92, -32.01)
CIE-LCHlch(55.13, 51.95, 321.96°)
OKLaboklab(62.99% 0.1091 -0.0881)
OKLCHoklch(62.99% 0.14 321.1)
XYZxyz(31.9093, 23.0540, 50.3362)
Luminance0.2305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6ABC #77BC6A
analogous
#866ABC #AF6ABC #BC6AA0
triadic
#AF6ABC #BCAF6A #6ABCAF
tetradic
#AF6ABC #BC866A #77BC6A #6AA0BC
square
#AF6ABC #BC866A #77BC6A #6AA0BC
split-complementary
#AF6ABC #A0BC6A #6ABC86
monochromatic
#6C3576 #9348A1 #AF6ABC #C694CF #DCBEE2

Accessibility & contrast

On white

3.74
#AF6ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#AF6ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6ABC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6ABC#FFFFFF#000000##000000
##AF6ABC1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBF
Deuteranopia (green-blind)
#7287BA
Tritanopia (blue-blind)
#B1748A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af6abc;
/* rgb */ color: rgb(175, 106, 188);
/* oklch */ color: oklch(63.0% 0.140 321.1);
Tailwind
colors: {
  custom: {
    50: '#c896d0',
    500: '#af6abc',
    950: '#000000',
  },
}
SCSS
$custom: #af6abc;
$custom-light: #c896d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af6abc",
  "rgb": {
    "r": 175,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 290.488,
    "s": 37.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62988,
    "c": 0.14025,
    "h": 321.1
  },
  "luminance": 0.23053
}

Semantic roles & 50–950 ramp

primary
#AF6ABC
secondary
#B6D1B0
accent
#CE5A6C
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF6ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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