#AF82FB#AF82FB

#AF82FB is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.1% C 0.175 H 299.0°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#AF82FB
RGBrgb(175, 130, 251)
HSLhsl(262, 94%, 75%)
HSVhsv(262, 48%, 98%)
CMYKcmyk(30.3%, 48.2%, 0%, 1.6%)
CIE-LABlab(63.38, 41.89, -54.36)
CIE-LCHlch(63.38, 68.63, 307.62°)
OKLaboklab(70.15% 0.0848 -0.153)
OKLCHoklch(70.15% 0.175 299)
XYZxyz(43.0703, 32.0439, 95.1641)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF82FB #CEFB82
analogous
#8292FB #AF82FB #EB82FB
triadic
#AF82FB #FBAF82 #82FBAF
tetradic
#AF82FB #FB8292 #CEFB82 #82FBEB
square
#AF82FB #FB8292 #CEFB82 #82FBEB
split-complementary
#AF82FB #FBEB82 #92FB82
monochromatic
#630BF7 #8947F9 #AF82FB #D5BDFD #ECE1FE

Accessibility & contrast

On white

2.83
#AF82FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#AF82FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF82FB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF82FB#FFFFFF#000000##000000
##AF82FB1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FF
Deuteranopia (green-blind)
#6598F8
Tritanopia (blue-blind)
#9F99B3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af82fb;
/* rgb */ color: rgb(175, 130, 251);
/* oklch */ color: oklch(70.1% 0.175 299.0);
Tailwind
colors: {
  custom: {
    50: '#caa7fd',
    500: '#af82fb',
    950: '#000000',
  },
}
SCSS
$custom: #af82fb;
$custom-light: #caa7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af82fb",
  "rgb": {
    "r": 175,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 262.314,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70149,
    "c": 0.17491,
    "h": 299
  },
  "luminance": 0.32044
}

Semantic roles & 50–950 ramp

primary
#AF82FB
secondary
#EAF6D5
accent
#E60090
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AF82FB

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

Preview Lab → · Contrast checker → · Palette generator →

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