#AF6FBE#AF6FBE

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

Color values

HEX#AF6FBE
RGBrgb(175, 111, 190)
HSLhsl(289, 38%, 59%)
HSVhsv(289, 42%, 75%)
CMYKcmyk(7.9%, 41.6%, 0%, 25.5%)
CIE-LABlab(56.29, 38.61, -31.35)
CIE-LCHlch(56.29, 49.73, 320.92°)
OKLaboklab(63.89% 0.1021 -0.0862)
OKLCHoklch(63.89% 0.134 319.8)
XYZxyz(32.6567, 24.2016, 51.6563)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FBE #7EBE6F
analogous
#886FBE #AF6FBE #BE6FA6
triadic
#AF6FBE #BEAF6F #6FBEAF
tetradic
#AF6FBE #BE886F #7EBE6F #6FA6BE
square
#AF6FBE #BE886F #7EBE6F #6FA6BE
split-complementary
#AF6FBE #A6BE6F #6FBE88
monochromatic
#6E387B #944BA5 #AF6FBE #C699D1 #DEC3E4

Accessibility & contrast

On white

3.60
#AF6FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF6FBE#FFFFFF#000000##000000
##AF6FBE1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6483C1
Deuteranopia (green-blind)
#7589BC
Tritanopia (blue-blind)
#B0798D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af6fbe;
/* rgb */ color: rgb(175, 111, 190);
/* oklch */ color: oklch(63.9% 0.134 319.8);
Tailwind
colors: {
  custom: {
    50: '#c89ad2',
    500: '#af6fbe',
    950: '#000000',
  },
}
SCSS
$custom: #af6fbe;
$custom-light: #c89ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#af6fbe",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 190
  },
  "hsl": {
    "h": 288.608,
    "s": 37.799,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63887,
    "c": 0.13367,
    "h": 319.8
  },
  "luminance": 0.24201
}

Semantic roles & 50–950 ramp

primary
#AF6FBE
secondary
#BBD4B5
accent
#CE5A70
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF6FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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