#AF7DDD#AF7DDD

#AF7DDD is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.7% C 0.146 H 306.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AF7DDD
RGBrgb(175, 125, 221)
HSLhsl(271, 59%, 68%)
HSVhsv(271, 43%, 87%)
CMYKcmyk(20.8%, 43.4%, 0%, 13.3%)
CIE-LABlab(60.78, 37.58, -41.85)
CIE-LCHlch(60.78, 56.24, 311.92°)
OKLaboklab(67.72% 0.0876 -0.1165)
OKLCHoklch(67.72% 0.146 306.9)
XYZxyz(38.0614, 29.0020, 71.9854)
Luminance0.2900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7DDD #ABDD7D
analogous
#7F7DDD #AF7DDD #DD7DDB
triadic
#AF7DDD #DDAF7D #7DDDAF
tetradic
#AF7DDD #DD7F7D #ABDD7D #7DDBDD
square
#AF7DDD #DD7F7D #ABDD7D #7DDBDD
split-complementary
#AF7DDD #DBDD7D #7DDD7F
monochromatic
#732EB1 #914CD0 #AF7DDD #CDAEEA #EBDEF6

Accessibility & contrast

On white

3.09
#AF7DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#AF7DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7DDD
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7DDD#FFFFFF#000000##000000
##AF7DDD1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6691E0
Deuteranopia (green-blind)
#7293DA
Tritanopia (blue-blind)
#A88CA2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af7ddd;
/* rgb */ color: rgb(175, 125, 221);
/* oklch */ color: oklch(67.7% 0.146 306.9);
Tailwind
colors: {
  custom: {
    50: '#c8a3e8',
    500: '#af7ddd',
    950: '#000000',
  },
}
SCSS
$custom: #af7ddd;
$custom-light: #c8a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af7ddd",
  "rgb": {
    "r": 175,
    "g": 125,
    "b": 221
  },
  "hsl": {
    "h": 271.25,
    "s": 58.537,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6772,
    "c": 0.14579,
    "h": 306.9
  },
  "luminance": 0.29002
}

Semantic roles & 50–950 ramp

primary
#AF7DDD
secondary
#DAEACC
accent
#C61F6F
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AF7DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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