#AF73E9#AF73E9

#AF73E9 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.176 H 305.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AF73E9
RGBrgb(175, 115, 233)
HSLhsl(271, 73%, 68%)
HSVhsv(271, 51%, 91%)
CMYKcmyk(24.9%, 50.6%, 0%, 8.6%)
CIE-LABlab(59.21, 45.80, -51.02)
CIE-LCHlch(59.21, 68.57, 311.91°)
OKLaboklab(66.74% 0.1027 -0.1432)
OKLCHoklch(66.74% 0.176 305.6)
XYZxyz(38.5148, 27.2589, 80.3075)
Luminance0.2726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73E9 #ADE973
analogous
#7473E9 #AF73E9 #E973E8
triadic
#AF73E9 #E9AF73 #73E9AF
tetradic
#AF73E9 #E97473 #ADE973 #73E8E9
square
#AF73E9 #E97473 #ADE973 #73E8E9
split-complementary
#AF73E9 #E8E973 #73E974
monochromatic
#721FC3 #913EE1 #AF73E9 #CDA8F1 #EBDDFA

Accessibility & contrast

On white

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

On black

6.45
#AF73E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73E9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73E9#FFFFFF#000000##000000
##AF73E91.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DED
Deuteranopia (green-blind)
#618FE6
Tritanopia (blue-blind)
#A688A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af73e9;
/* rgb */ color: rgb(175, 115, 233);
/* oklch */ color: oklch(66.7% 0.176 305.6);
Tailwind
colors: {
  custom: {
    50: '#c99df0',
    500: '#af73e9',
    950: '#000000',
  },
}
SCSS
$custom: #af73e9;
$custom-light: #c99df0;
$custom-dark: #000000;
JSON
{
  "hex": "#af73e9",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 233
  },
  "hsl": {
    "h": 270.508,
    "s": 72.84,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66743,
    "c": 0.17622,
    "h": 305.6
  },
  "luminance": 0.27259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF73E9

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

Preview Lab → · Contrast checker → · Palette generator →

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