#AF72F0#AF72F0

#AF72F0 is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.0% C 0.186 H 304.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AF72F0
RGBrgb(175, 114, 240)
HSLhsl(269, 81%, 69%)
HSVhsv(269, 53%, 94%)
CMYKcmyk(27.1%, 52.5%, 0%, 5.9%)
CIE-LABlab(59.38, 47.97, -54.65)
CIE-LCHlch(59.38, 72.72, 311.27°)
OKLaboklab(66.99% 0.1045 -0.1538)
OKLCHoklch(66.99% 0.186 304.2)
XYZxyz(39.4213, 27.4400, 85.6408)
Luminance0.2744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72F0 #B3F072
analogous
#7274F0 #AF72F0 #EE72F0
triadic
#AF72F0 #F0AF72 #72F0AF
tetradic
#AF72F0 #F07274 #B3F072 #72F0EE
square
#AF72F0 #F07274 #B3F072 #72F0EE
split-complementary
#AF72F0 #F0EE72 #74F072
monochromatic
#7116D1 #903BEA #AF72F0 #CEA9F6 #EEE1FC

Accessibility & contrast

On white

3.24
#AF72F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#AF72F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72F0
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72F0#FFFFFF#000000##000000
##AF72F01.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF4
Deuteranopia (green-blind)
#5B8FED
Tritanopia (blue-blind)
#A489A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af72f0;
/* rgb */ color: rgb(175, 114, 240);
/* oklch */ color: oklch(67.0% 0.186 304.2);
Tailwind
colors: {
  custom: {
    50: '#ca9cf5',
    500: '#af72f0',
    950: '#000000',
  },
}
SCSS
$custom: #af72f0;
$custom-light: #ca9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#af72f0",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 240
  },
  "hsl": {
    "h": 269.048,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66987,
    "c": 0.18595,
    "h": 304.2
  },
  "luminance": 0.2744
}

Semantic roles & 50–950 ramp

primary
#AF72F0
secondary
#DFF1CD
accent
#DD0876
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF72F0

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

Preview Lab → · Contrast checker → · Palette generator →

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