#AF93DF#AF93DF

#AF93DF is a light, moderate violet. Relative luminance 0.353; OKLCH L 71.7% C 0.112 H 300.5°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#AF93DF
RGBrgb(175, 147, 223)
HSLhsl(262, 54%, 73%)
HSVhsv(262, 34%, 87%)
CMYKcmyk(21.5%, 34.1%, 0%, 12.5%)
CIE-LABlab(65.99, 25.71, -34.82)
CIE-LCHlch(65.99, 43.28, 306.44°)
OKLaboklab(71.69% 0.0569 -0.0964)
OKLCHoklch(71.69% 0.112 300.5)
XYZxyz(41.4293, 35.3090, 74.4304)
Luminance0.3531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF93DF #C3DF93
analogous
#939DDF #AF93DF #D593DF
triadic
#AF93DF #DFAF93 #93DFAF
tetradic
#AF93DF #DF939D #C3DF93 #93DFD5
square
#AF93DF #DF939D #C3DF93 #93DFD5
split-complementary
#AF93DF #DFD593 #9DDF93
monochromatic
#6A39BF #8C64D1 #AF93DF #D2C2ED #EEE7F8

Accessibility & contrast

On white

2.60
#AF93DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#AF93DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF93DF
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF93DF#FFFFFF#000000##000000
##AF93DF1.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A0E2
Deuteranopia (green-blind)
#87A0DD
Tritanopia (blue-blind)
#A79FAF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af93df;
/* rgb */ color: rgb(175, 147, 223);
/* oklch */ color: oklch(71.7% 0.112 300.5);
Tailwind
colors: {
  custom: {
    50: '#c8b3e9',
    500: '#af93df',
    950: '#000000',
  },
}
SCSS
$custom: #af93df;
$custom-light: #c8b3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af93df",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 223
  },
  "hsl": {
    "h": 262.105,
    "s": 54.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71691,
    "c": 0.11193,
    "h": 300.5
  },
  "luminance": 0.35309
}

Semantic roles & 50–950 ramp

primary
#AF93DF
secondary
#E8EFDC
accent
#C22488
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AF93DF

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

Preview Lab → · Contrast checker → · Palette generator →

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