#AF93DE#AF93DE

#AF93DE is a light, moderate violet. Relative luminance 0.353; OKLCH L 71.6% C 0.111 H 300.8°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#AF93DE
RGBrgb(175, 147, 222)
HSLhsl(262, 53%, 72%)
HSVhsv(262, 34%, 87%)
CMYKcmyk(21.2%, 33.8%, 0%, 12.9%)
CIE-LABlab(65.95, 25.48, -34.33)
CIE-LCHlch(65.95, 42.75, 306.58°)
OKLaboklab(71.65% 0.0567 -0.095)
OKLCHoklch(71.65% 0.111 300.8)
XYZxyz(41.2949, 35.2552, 73.7225)
Luminance0.3525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF93DE #C2DE93
analogous
#939DDE #AF93DE #D493DE
triadic
#AF93DE #DEAF93 #93DEAF
tetradic
#AF93DE #DE939D #C2DE93 #93DED4
square
#AF93DE #DE939D #C2DE93 #93DED4
split-complementary
#AF93DE #DED493 #9DDE93
monochromatic
#6B3ABD #8C64D0 #AF93DE #D2C2EC #EEE8F8

Accessibility & contrast

On white

2.61
#AF93DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#AF93DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF93DE
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF93DE#FFFFFF#000000##000000
##AF93DE1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A0E1
Deuteranopia (green-blind)
#87A0DC
Tritanopia (blue-blind)
#A79FAE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af93de;
/* rgb */ color: rgb(175, 147, 222);
/* oklch */ color: oklch(71.6% 0.111 300.8);
Tailwind
colors: {
  custom: {
    50: '#c8b3e8',
    500: '#af93de',
    950: '#000000',
  },
}
SCSS
$custom: #af93de;
$custom-light: #c8b3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af93de",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 222
  },
  "hsl": {
    "h": 262.4,
    "s": 53.191,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71646,
    "c": 0.1106,
    "h": 300.8
  },
  "luminance": 0.35255
}

Semantic roles & 50–950 ramp

primary
#AF93DE
secondary
#E8EFDC
accent
#C12586
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AF93DE

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

Preview Lab → · Contrast checker → · Palette generator →

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