#AF6BD2#AF6BD2

#AF6BD2 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.3% C 0.163 H 313.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AF6BD2
RGBrgb(175, 107, 210)
HSLhsl(280, 53%, 62%)
HSVhsv(280, 49%, 82%)
CMYKcmyk(16.7%, 49%, 0%, 17.6%)
CIE-LABlab(56.37, 44.96, -42.61)
CIE-LCHlch(56.37, 61.94, 316.54°)
OKLaboklab(64.25% 0.1111 -0.1187)
OKLCHoklch(64.25% 0.163 313.1)
XYZxyz(34.5678, 24.2833, 63.8264)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6BD2 #8ED26B
analogous
#7C6BD2 #AF6BD2 #D26BC1
triadic
#AF6BD2 #D2AF6B #6BD2AF
tetradic
#AF6BD2 #D27C6B #8ED26B #6BC1D2
square
#AF6BD2 #D27C6B #8ED26B #6BC1D2
split-complementary
#AF6BD2 #C1D26B #6BD27C
monochromatic
#722D95 #963CC4 #AF6BD2 #C89AE0 #E2C9EF

Accessibility & contrast

On white

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

On black

5.86
#AF6BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6BD2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6BD2#FFFFFF#000000##000000
##AF6BD21.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5483D6
Deuteranopia (green-blind)
#6889CF
Tritanopia (blue-blind)
#AC7B95
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af6bd2;
/* rgb */ color: rgb(175, 107, 210);
/* oklch */ color: oklch(64.3% 0.163 313.1);
Tailwind
colors: {
  custom: {
    50: '#c997e0',
    500: '#af6bd2',
    950: '#000000',
  },
}
SCSS
$custom: #af6bd2;
$custom-light: #c997e0;
$custom-dark: #000000;
JSON
{
  "hex": "#af6bd2",
  "rgb": {
    "r": 175,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 279.612,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64251,
    "c": 0.16257,
    "h": 313.1
  },
  "luminance": 0.24282
}

Semantic roles & 50–950 ramp

primary
#AF6BD2
secondary
#C6DFB9
accent
#C1255A
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF6BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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