#AF73FC#AF73FC

#AF73FC is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.8% C 0.198 H 301.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AF73FC
RGBrgb(175, 115, 252)
HSLhsl(266, 96%, 72%)
HSVhsv(266, 54%, 99%)
CMYKcmyk(30.6%, 54.4%, 0%, 1.2%)
CIE-LABlab(60.25, 50.27, -59.90)
CIE-LCHlch(60.25, 78.20, 310.01°)
OKLaboklab(67.85% 0.1038 -0.1692)
OKLCHoklch(67.85% 0.198 301.5)
XYZxyz(41.3765, 28.4036, 95.3792)
Luminance0.2840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73FC #C0FC73
analogous
#737CFC #AF73FC #F373FC
triadic
#AF73FC #FCAF73 #73FCAF
tetradic
#AF73FC #FC737C #C0FC73 #73FCF3
square
#AF73FC #FC737C #C0FC73 #73FCF3
split-complementary
#AF73FC #FCF373 #7CFC73
monochromatic
#6C05EF #8D37FB #AF73FC #D1AFFD #EEE1FE

Accessibility & contrast

On white

3.14
#AF73FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#AF73FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73FC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73FC#FFFFFF#000000##000000
##AF73FC1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D90FF
Deuteranopia (green-blind)
#5191F9
Tritanopia (blue-blind)
#A08EAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af73fc;
/* rgb */ color: rgb(175, 115, 252);
/* oklch */ color: oklch(67.8% 0.198 301.5);
Tailwind
colors: {
  custom: {
    50: '#cb9dfe',
    500: '#af73fc',
    950: '#000000',
  },
}
SCSS
$custom: #af73fc;
$custom-light: #cb9dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#af73fc",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 252
  },
  "hsl": {
    "h": 266.277,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67846,
    "c": 0.19848,
    "h": 301.5
  },
  "luminance": 0.28404
}

Semantic roles & 50–950 ramp

primary
#AF73FC
secondary
#E8F7D4
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF73FC

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

Preview Lab → · Contrast checker → · Palette generator →

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