#AF93EA#AF93EA

#AF93EA is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.2% C 0.127 H 298.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#AF93EA
RGBrgb(175, 147, 234)
HSLhsl(259, 67%, 75%)
HSVhsv(259, 37%, 92%)
CMYKcmyk(25.2%, 37.2%, 0%, 8.2%)
CIE-LABlab(66.46, 28.29, -40.16)
CIE-LCHlch(66.46, 49.12, 305.16°)
OKLaboklab(72.21% 0.0594 -0.1117)
OKLCHoklch(72.21% 0.127 298)
XYZxyz(42.9608, 35.9216, 82.4962)
Luminance0.3592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF93EA #CEEA93
analogous
#93A3EA #AF93EA #DA93EA
triadic
#AF93EA #EAAF93 #93EAAF
tetradic
#AF93EA #EA93A3 #CEEA93 #93EADA
square
#AF93EA #EA93A3 #CEEA93 #93EADA
split-complementary
#AF93EA #EADA93 #A3EA93
monochromatic
#632DD6 #8960E0 #AF93EA #D5C6F4 #ECE5FA

Accessibility & contrast

On white

2.57
#AF93EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#AF93EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF93EA
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF93EA#FFFFFF#000000##000000
##AF93EA1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2ED
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#A4A2B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #af93ea;
/* rgb */ color: rgb(175, 147, 234);
/* oklch */ color: oklch(72.2% 0.127 298.0);
Tailwind
colors: {
  custom: {
    50: '#c8b3f1',
    500: '#af93ea',
    950: '#000000',
  },
}
SCSS
$custom: #af93ea;
$custom-light: #c8b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af93ea",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 234
  },
  "hsl": {
    "h": 259.31,
    "s": 67.442,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72205,
    "c": 0.12652,
    "h": 298
  },
  "luminance": 0.35922
}

Semantic roles & 50–950 ramp

primary
#AF93EA
secondary
#EAF2D9
accent
#CF1694
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AF93EA

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

Preview Lab → · Contrast checker → · Palette generator →

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