#AF82FA#AF82FA

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

Color values

HEX#AF82FA
RGBrgb(175, 130, 250)
HSLhsl(263, 92%, 75%)
HSVhsv(263, 48%, 98%)
CMYKcmyk(30%, 48%, 0%, 2%)
CIE-LABlab(63.33, 41.65, -53.89)
CIE-LCHlch(63.33, 68.11, 307.70°)
OKLaboklab(70.09% 0.0847 -0.1516)
OKLCHoklch(70.09% 0.174 299.2)
XYZxyz(42.9131, 31.9810, 94.3361)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF82FA #CDFA82
analogous
#8291FA #AF82FA #EB82FA
triadic
#AF82FA #FAAF82 #82FAAF
tetradic
#AF82FA #FA8291 #CDFA82 #82FAEB
square
#AF82FA #FA8291 #CDFA82 #82FAEB
split-complementary
#AF82FA #FAEB82 #91FA82
monochromatic
#640CF5 #8947F8 #AF82FA #D5BDFC #ECE2FE

Accessibility & contrast

On white

2.84
#AF82FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#AF82FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF82FA
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF82FA#FFFFFF#000000##000000
##AF82FA1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FE
Deuteranopia (green-blind)
#6698F7
Tritanopia (blue-blind)
#A098B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af82fa;
/* rgb */ color: rgb(175, 130, 250);
/* oklch */ color: oklch(70.1% 0.174 299.2);
Tailwind
colors: {
  custom: {
    50: '#caa7fc',
    500: '#af82fa',
    950: '#000000',
  },
}
SCSS
$custom: #af82fa;
$custom-light: #caa7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af82fa",
  "rgb": {
    "r": 175,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 262.5,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70093,
    "c": 0.17367,
    "h": 299.2
  },
  "luminance": 0.31981
}

Semantic roles & 50–950 ramp

primary
#AF82FA
secondary
#EAF6D5
accent
#E6008F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF82FA

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

Preview Lab → · Contrast checker → · Palette generator →

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