#AF73EA#AF73EA

#AF73EA is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.8% C 0.177 H 305.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AF73EA
RGBrgb(175, 115, 234)
HSLhsl(270, 74%, 68%)
HSVhsv(270, 51%, 92%)
CMYKcmyk(25.2%, 50.9%, 0%, 8.2%)
CIE-LABlab(59.27, 46.03, -51.50)
CIE-LCHlch(59.27, 69.07, 311.79°)
OKLaboklab(66.8% 0.1028 -0.1446)
OKLCHoklch(66.8% 0.177 305.4)
XYZxyz(38.6581, 27.3162, 81.0619)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73EA #AEEA73
analogous
#7373EA #AF73EA #EA73E9
triadic
#AF73EA #EAAF73 #73EAAF
tetradic
#AF73EA #EA7373 #AEEA73 #73E9EA
square
#AF73EA #EA7373 #AEEA73 #73E9EA
split-complementary
#AF73EA #E9EA73 #73EA73
monochromatic
#721EC5 #913EE2 #AF73EA #CDA8F2 #ECDDFA

Accessibility & contrast

On white

3.25
#AF73EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#AF73EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73EA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73EA#FFFFFF#000000##000000
##AF73EA1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#608FE7
Tritanopia (blue-blind)
#A588A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af73ea;
/* rgb */ color: rgb(175, 115, 234);
/* oklch */ color: oklch(66.8% 0.177 305.4);
Tailwind
colors: {
  custom: {
    50: '#ca9df1',
    500: '#af73ea',
    950: '#000000',
  },
}
SCSS
$custom: #af73ea;
$custom-light: #ca9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#af73ea",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 270.252,
    "s": 73.913,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66799,
    "c": 0.17739,
    "h": 305.4
  },
  "luminance": 0.27316
}

Semantic roles & 50–950 ramp

primary
#AF73EA
secondary
#DCEECA
accent
#D60F72
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AF73EA

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

Preview Lab → · Contrast checker → · Palette generator →

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