#AF7DDF#AF7DDF

#AF7DDF is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.8% C 0.148 H 306.4°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AF7DDF
RGBrgb(175, 125, 223)
HSLhsl(271, 60%, 68%)
HSVhsv(271, 44%, 87%)
CMYKcmyk(21.5%, 43.9%, 0%, 12.5%)
CIE-LABlab(60.88, 38.03, -42.81)
CIE-LCHlch(60.88, 57.27, 311.62°)
OKLaboklab(67.82% 0.0879 -0.1194)
OKLCHoklch(67.82% 0.148 306.4)
XYZxyz(38.3294, 29.1092, 73.3971)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7DDF #ADDF7D
analogous
#7E7DDF #AF7DDF #DF7DDE
triadic
#AF7DDF #DFAF7D #7DDFAF
tetradic
#AF7DDF #DF7E7D #ADDF7D #7DDEDF
square
#AF7DDF #DF7E7D #ADDF7D #7DDEDF
split-complementary
#AF7DDF #DEDF7D #7DDF7E
monochromatic
#722DB5 #914CD3 #AF7DDF #CDAEEB #EBDFF7

Accessibility & contrast

On white

3.08
#AF7DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#AF7DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7DDF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7DDF#FFFFFF#000000##000000
##AF7DDF1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6591E3
Deuteranopia (green-blind)
#7193DC
Tritanopia (blue-blind)
#A88DA3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af7ddf;
/* rgb */ color: rgb(175, 125, 223);
/* oklch */ color: oklch(67.8% 0.148 306.4);
Tailwind
colors: {
  custom: {
    50: '#c9a3e9',
    500: '#af7ddf',
    950: '#000000',
  },
}
SCSS
$custom: #af7ddf;
$custom-light: #c9a3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af7ddf",
  "rgb": {
    "r": 175,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 270.612,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67822,
    "c": 0.14823,
    "h": 306.4
  },
  "luminance": 0.29109
}

Semantic roles & 50–950 ramp

primary
#AF7DDF
secondary
#DCEBCD
accent
#C81D71
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AF7DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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