#AF93EB#AF93EB

#AF93EB is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.3% C 0.128 H 297.8°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#AF93EB
RGBrgb(175, 147, 235)
HSLhsl(259, 69%, 75%)
HSVhsv(259, 37%, 92%)
CMYKcmyk(25.5%, 37.4%, 0%, 7.8%)
CIE-LABlab(66.50, 28.53, -40.64)
CIE-LCHlch(66.50, 49.65, 305.07°)
OKLaboklab(72.25% 0.0596 -0.1131)
OKLCHoklch(72.25% 0.128 297.8)
XYZxyz(43.1048, 35.9792, 83.2549)
Luminance0.3598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF93EB #CFEB93
analogous
#93A3EB #AF93EB #DB93EB
triadic
#AF93EB #EBAF93 #93EBAF
tetradic
#AF93EB #EB93A3 #CFEB93 #93EBDB
square
#AF93EB #EB93A3 #CFEB93 #93EBDB
split-complementary
#AF93EB #EBDB93 #A3EB93
monochromatic
#632CD8 #895FE1 #AF93EB #D5C7F5 #ECE5FA

Accessibility & contrast

On white

2.56
#AF93EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#AF93EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF93EB
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF93EB#FFFFFF#000000##000000
##AF93EB1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EE
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#A3A2B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #af93eb;
/* rgb */ color: rgb(175, 147, 235);
/* oklch */ color: oklch(72.3% 0.128 297.8);
Tailwind
colors: {
  custom: {
    50: '#c8b3f2',
    500: '#af93eb',
    950: '#000000',
  },
}
SCSS
$custom: #af93eb;
$custom-light: #c8b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#af93eb",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 235
  },
  "hsl": {
    "h": 259.091,
    "s": 68.75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72253,
    "c": 0.12785,
    "h": 297.8
  },
  "luminance": 0.3598
}

Semantic roles & 50–950 ramp

primary
#AF93EB
secondary
#EAF2D9
accent
#D11595
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AF93EB

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

Preview Lab → · Contrast checker → · Palette generator →

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