#AF6BBC#AF6BBC

#AF6BBC is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.1% C 0.139 H 321.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AF6BBC
RGBrgb(175, 107, 188)
HSLhsl(290, 38%, 58%)
HSVhsv(290, 43%, 74%)
CMYKcmyk(6.9%, 43.1%, 0%, 26.3%)
CIE-LABlab(55.34, 40.38, -31.68)
CIE-LCHlch(55.34, 51.32, 321.88°)
OKLaboklab(63.15% 0.1077 -0.0871)
OKLCHoklch(63.15% 0.139 321)
XYZxyz(32.0129, 23.2614, 50.3708)
Luminance0.2326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6BBC #78BC6B
analogous
#866BBC #AF6BBC #BC6BA1
triadic
#AF6BBC #BCAF6B #6BBCAF
tetradic
#AF6BBC #BC866B #78BC6B #6BA1BC
square
#AF6BBC #BC866B #78BC6B #6BA1BC
split-complementary
#AF6BBC #A1BC6B #6BBC86
monochromatic
#6C3677 #9349A1 #AF6BBC #C695CF #DDBFE2

Accessibility & contrast

On white

3.72
#AF6BBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#AF6BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6BBC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6BBC#FFFFFF#000000##000000
##AF6BBC1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6080BF
Deuteranopia (green-blind)
#7287BA
Tritanopia (blue-blind)
#B1758B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af6bbc;
/* rgb */ color: rgb(175, 107, 188);
/* oklch */ color: oklch(63.1% 0.139 321.0);
Tailwind
colors: {
  custom: {
    50: '#c897d0',
    500: '#af6bbc',
    950: '#000000',
  },
}
SCSS
$custom: #af6bbc;
$custom-light: #c897d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af6bbc",
  "rgb": {
    "r": 175,
    "g": 107,
    "b": 188
  },
  "hsl": {
    "h": 290.37,
    "s": 37.674,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63147,
    "c": 0.13851,
    "h": 321
  },
  "luminance": 0.2326
}

Semantic roles & 50–950 ramp

primary
#AF6BBC
secondary
#B6D2B1
accent
#CE5A6D
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF6BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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