#AF7AED#AF7AED

#AF7AED is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.1% C 0.170 H 303.5°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#AF7AED
RGBrgb(175, 122, 237)
HSLhsl(268, 76%, 70%)
HSVhsv(268, 49%, 93%)
CMYKcmyk(26.2%, 48.5%, 0%, 7.1%)
CIE-LABlab(60.91, 42.93, -50.55)
CIE-LCHlch(60.91, 66.32, 310.34°)
OKLaboklab(68.07% 0.0938 -0.1418)
OKLCHoklch(68.07% 0.17 303.5)
XYZxyz(39.9215, 29.1475, 83.6272)
Luminance0.2915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7AED #B8ED7A
analogous
#7A7EED #AF7AED #E87AED
triadic
#AF7AED #EDAF7A #7AEDAF
tetradic
#AF7AED #ED7A7E #B8ED7A #7AEDE8
square
#AF7AED #ED7A7E #B8ED7A #7AEDE8
split-complementary
#AF7AED #EDE87A #7EED7A
monochromatic
#6F1CD0 #8F44E6 #AF7AED #CFB0F4 #EFE4FB

Accessibility & contrast

On white

3.07
#AF7AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#AF7AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7AED
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7AED#FFFFFF#000000##000000
##AF7AED1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#6693EA
Tritanopia (blue-blind)
#A48EA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af7aed;
/* rgb */ color: rgb(175, 122, 237);
/* oklch */ color: oklch(68.1% 0.170 303.5);
Tailwind
colors: {
  custom: {
    50: '#c9a2f3',
    500: '#af7aed',
    950: '#000000',
  },
}
SCSS
$custom: #af7aed;
$custom-light: #c9a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af7aed",
  "rgb": {
    "r": 175,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 267.652,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68073,
    "c": 0.17006,
    "h": 303.5
  },
  "luminance": 0.29147
}

Semantic roles & 50–950 ramp

primary
#AF7AED
secondary
#E3F1D2
accent
#D80D7B
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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