#AF7ADE#AF7ADE

#AF7ADE is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.3% C 0.152 H 307.2°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AF7ADE
RGBrgb(175, 122, 222)
HSLhsl(272, 60%, 67%)
HSVhsv(272, 45%, 87%)
CMYKcmyk(21.2%, 45%, 0%, 12.9%)
CIE-LABlab(60.17, 39.46, -43.38)
CIE-LCHlch(60.17, 58.64, 312.30°)
OKLaboklab(67.27% 0.0919 -0.121)
OKLCHoklch(67.27% 0.152 307.2)
XYZxyz(37.8209, 28.3073, 72.5645)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7ADE #A9DE7A
analogous
#7D7ADE #AF7ADE #DE7ADB
triadic
#AF7ADE #DEAF7A #7ADEAF
tetradic
#AF7ADE #DE7D7A #A9DE7A #7ADBDE
square
#AF7ADE #DE7D7A #A9DE7A #7ADBDE
split-complementary
#AF7ADE #DBDE7A #7ADE7D
monochromatic
#732CB2 #9249D2 #AF7ADE #CCABEA #EADCF6

Accessibility & contrast

On white

3.15
#AF7ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#AF7ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7ADE
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7ADE#FFFFFF#000000##000000
##AF7ADE1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#618FE2
Deuteranopia (green-blind)
#6F92DB
Tritanopia (blue-blind)
#A88AA1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af7ade;
/* rgb */ color: rgb(175, 122, 222);
/* oklch */ color: oklch(67.3% 0.152 307.2);
Tailwind
colors: {
  custom: {
    50: '#c9a1e8',
    500: '#af7ade',
    950: '#000000',
  },
}
SCSS
$custom: #af7ade;
$custom-light: #c9a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af7ade",
  "rgb": {
    "r": 175,
    "g": 122,
    "b": 222
  },
  "hsl": {
    "h": 271.8,
    "s": 60.241,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67272,
    "c": 0.15194,
    "h": 307.2
  },
  "luminance": 0.28307
}

Semantic roles & 50–950 ramp

primary
#AF7ADE
secondary
#D9EACA
accent
#C81E6E
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AF7ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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