#AF6AED#AF6AED

#AF6AED is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.6% C 0.195 H 306.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AF6AED
RGBrgb(175, 106, 237)
HSLhsl(272, 78%, 67%)
HSVhsv(272, 55%, 93%)
CMYKcmyk(26.2%, 55.3%, 0%, 7.1%)
CIE-LABlab(57.59, 51.50, -55.83)
CIE-LCHlch(57.59, 75.95, 312.69°)
OKLaboklab(65.62% 0.1145 -0.1572)
OKLCHoklch(65.62% 0.195 306.1)
XYZxyz(38.1161, 25.5368, 83.0254)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6AED #A8ED6A
analogous
#6E6AED #AF6AED #ED6AEA
triadic
#AF6AED #EDAF6A #6AEDAF
tetradic
#AF6AED #ED6E6A #A8ED6A #6AEAED
square
#AF6AED #ED6E6A #A8ED6A #6AEAED
split-complementary
#AF6AED #EAED6A #6AED6E
monochromatic
#7318C5 #9233E6 #AF6AED #CCA1F4 #EAD7FA

Accessibility & contrast

On white

3.44
#AF6AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#AF6AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6AED
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6AED#FFFFFF#000000##000000
##AF6AED1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F1
Deuteranopia (green-blind)
#548BEA
Tritanopia (blue-blind)
#A583A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af6aed;
/* rgb */ color: rgb(175, 106, 237);
/* oklch */ color: oklch(65.6% 0.195 306.1);
Tailwind
colors: {
  custom: {
    50: '#ca97f3',
    500: '#af6aed',
    950: '#000000',
  },
}
SCSS
$custom: #af6aed;
$custom-light: #ca97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af6aed",
  "rgb": {
    "r": 175,
    "g": 106,
    "b": 237
  },
  "hsl": {
    "h": 271.603,
    "s": 78.443,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65618,
    "c": 0.19451,
    "h": 306.1
  },
  "luminance": 0.25536
}

Semantic roles & 50–950 ramp

primary
#AF6AED
secondary
#D8EEC5
accent
#DB0B6D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6AED

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

Preview Lab → · Contrast checker → · Palette generator →

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