#AF73FA#AF73FA

#AF73FA is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.7% C 0.196 H 301.9°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AF73FA
RGBrgb(175, 115, 250)
HSLhsl(267, 93%, 72%)
HSVhsv(267, 54%, 98%)
CMYKcmyk(30%, 54%, 0%, 2%)
CIE-LABlab(60.14, 49.80, -58.97)
CIE-LCHlch(60.14, 77.19, 310.18°)
OKLaboklab(67.73% 0.1037 -0.1665)
OKLCHoklch(67.73% 0.196 301.9)
XYZxyz(41.0613, 28.2775, 93.7188)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73FA #BEFA73
analogous
#737BFA #AF73FA #F373FA
triadic
#AF73FA #FAAF73 #73FAAF
tetradic
#AF73FA #FA737B #BEFA73 #73FAF3
square
#AF73FA #FA737B #BEFA73 #73FAF3
split-complementary
#AF73FA #FAF373 #7BFA73
monochromatic
#6D08EA #8D38F8 #AF73FA #D1AEFC #EEE1FE

Accessibility & contrast

On white

3.16
#AF73FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#AF73FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73FA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73FA#FFFFFF#000000##000000
##AF73FA1.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FF
Deuteranopia (green-blind)
#5390F7
Tritanopia (blue-blind)
#A18DAC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af73fa;
/* rgb */ color: rgb(175, 115, 250);
/* oklch */ color: oklch(67.7% 0.196 301.9);
Tailwind
colors: {
  custom: {
    50: '#ca9dfd',
    500: '#af73fa',
    950: '#000000',
  },
}
SCSS
$custom: #af73fa;
$custom-light: #ca9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#af73fa",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 266.667,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67726,
    "c": 0.19614,
    "h": 301.9
  },
  "luminance": 0.28278
}

Semantic roles & 50–950 ramp

primary
#AF73FA
secondary
#E6F6D3
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF73FA

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

Preview Lab → · Contrast checker → · Palette generator →

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