#AF8DF9#AF8DF9

#AF8DF9 is a light, vivid violet. Relative luminance 0.350; OKLCH L 71.9% C 0.156 H 296.8°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#AF8DF9
RGBrgb(175, 141, 249)
HSLhsl(259, 90%, 76%)
HSVhsv(259, 43%, 98%)
CMYKcmyk(29.7%, 43.4%, 0%, 2.4%)
CIE-LABlab(65.75, 35.29, -49.51)
CIE-LCHlch(65.75, 60.80, 305.48°)
OKLaboklab(71.9% 0.0702 -0.1388)
OKLCHoklch(71.9% 0.156 296.8)
XYZxyz(44.2988, 35.0027, 94.0265)
Luminance0.3500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8DF9 #D7F98D
analogous
#8DA1F9 #AF8DF9 #E58DF9
triadic
#AF8DF9 #F9AF8D #8DF9AF
tetradic
#AF8DF9 #F98DA1 #D7F98D #8DF9E5
square
#AF8DF9 #F98DA1 #D7F98D #8DF9E5
split-complementary
#AF8DF9 #F9E58D #A1F98D
monochromatic
#5D19F3 #8653F6 #AF8DF9 #D8C7FC #EBE2FD

Accessibility & contrast

On white

2.62
#AF8DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#AF8DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8DF9
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8DF9#FFFFFF#000000##000000
##AF8DF91.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FD
Deuteranopia (green-blind)
#739EF6
Tritanopia (blue-blind)
#9FA1B7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af8df9;
/* rgb */ color: rgb(175, 141, 249);
/* oklch */ color: oklch(71.9% 0.156 296.8);
Tailwind
colors: {
  custom: {
    50: '#c9affc',
    500: '#af8df9',
    950: '#000000',
  },
}
SCSS
$custom: #af8df9;
$custom-light: #c9affc;
$custom-dark: #000000;
JSON
{
  "hex": "#af8df9",
  "rgb": {
    "r": 175,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 258.889,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71895,
    "c": 0.15556,
    "h": 296.8
  },
  "luminance": 0.35003
}

Semantic roles & 50–950 ramp

primary
#AF8DF9
secondary
#EBF6D5
accent
#E6009D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF8DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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