#AF93CD#AF93CD

#AF93CD is a light, moderate violet. Relative luminance 0.344; OKLCH L 70.9% C 0.088 H 306.3°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#AF93CD
RGBrgb(175, 147, 205)
HSLhsl(269, 37%, 69%)
HSVhsv(269, 28%, 80%)
CMYKcmyk(14.6%, 28.3%, 0%, 19.6%)
CIE-LABlab(65.27, 21.66, -25.94)
CIE-LCHlch(65.27, 33.79, 309.86°)
OKLaboklab(70.91% 0.0522 -0.0711)
OKLCHoklch(70.91% 0.088 306.3)
XYZxyz(39.1303, 34.3894, 62.3221)
Luminance0.3439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF93CD #B1CD93
analogous
#9394CD #AF93CD #CC93CD
triadic
#AF93CD #CDAF93 #93CDAF
tetradic
#AF93CD #CD9394 #B1CD93 #93CDCC
square
#AF93CD #CD9394 #B1CD93 #93CDCC
split-complementary
#AF93CD #CDCC93 #94CD93
monochromatic
#71499D #9069BA #AF93CD #CEBDE0 #EDE7F4

Accessibility & contrast

On white

2.67
#AF93CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#AF93CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF93CD
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF93CD#FFFFFF#000000##000000
##AF93CD1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#889DCF
Deuteranopia (green-blind)
#8E9FCB
Tritanopia (blue-blind)
#AB9BA8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af93cd;
/* rgb */ color: rgb(175, 147, 205);
/* oklch */ color: oklch(70.9% 0.088 306.3);
Tailwind
colors: {
  custom: {
    50: '#c7b3dc',
    500: '#af93cd',
    950: '#000000',
  },
}
SCSS
$custom: #af93cd;
$custom-light: #c7b3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af93cd",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 205
  },
  "hsl": {
    "h": 268.966,
    "s": 36.709,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70905,
    "c": 0.08817,
    "h": 306.3
  },
  "luminance": 0.34389
}

Semantic roles & 50–950 ramp

primary
#AF93CD
secondary
#DEE6D5
accent
#B03675
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AF93CD

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

Preview Lab → · Contrast checker → · Palette generator →

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