#AF7ADD#AF7ADD

#AF7ADD is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.2% C 0.151 H 307.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AF7ADD
RGBrgb(175, 122, 221)
HSLhsl(272, 59%, 67%)
HSVhsv(272, 45%, 87%)
CMYKcmyk(20.8%, 44.8%, 0%, 13.3%)
CIE-LABlab(60.12, 39.24, -42.89)
CIE-LCHlch(60.12, 58.13, 312.45°)
OKLaboklab(67.22% 0.0918 -0.1196)
OKLCHoklch(67.22% 0.151 307.5)
XYZxyz(37.6873, 28.2539, 71.8607)
Luminance0.2825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7ADD #A8DD7A
analogous
#7E7ADD #AF7ADD #DD7ADA
triadic
#AF7ADD #DDAF7A #7ADDAF
tetradic
#AF7ADD #DD7E7A #A8DD7A #7ADADD
square
#AF7ADD #DD7E7A #A8DD7A #7ADADD
split-complementary
#AF7ADD #DADD7A #7ADD7E
monochromatic
#732DB0 #9249D1 #AF7ADD #CCABE9 #EADBF6

Accessibility & contrast

On white

3.16
#AF7ADD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#AF7ADD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7ADD
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7ADD#FFFFFF#000000##000000
##AF7ADD1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#628FE1
Deuteranopia (green-blind)
#6F91DA
Tritanopia (blue-blind)
#A88AA1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af7add;
/* rgb */ color: rgb(175, 122, 221);
/* oklch */ color: oklch(67.2% 0.151 307.5);
Tailwind
colors: {
  custom: {
    50: '#c9a1e8',
    500: '#af7add',
    950: '#000000',
  },
}
SCSS
$custom: #af7add;
$custom-light: #c9a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af7add",
  "rgb": {
    "r": 175,
    "g": 122,
    "b": 221
  },
  "hsl": {
    "h": 272.121,
    "s": 59.281,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67221,
    "c": 0.15073,
    "h": 307.5
  },
  "luminance": 0.28253
}

Semantic roles & 50–950 ramp

primary
#AF7ADD
secondary
#D8E9CA
accent
#C71F6D
background
#FCFAFE
surface
#F8F3FC
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AF7ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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