#AF82EE#AF82EE

#AF82EE is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.4% C 0.159 H 301.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#AF82EE
RGBrgb(175, 130, 238)
HSLhsl(265, 76%, 72%)
HSVhsv(265, 45%, 93%)
CMYKcmyk(26.5%, 45.4%, 0%, 6.7%)
CIE-LABlab(62.72, 38.76, -48.24)
CIE-LCHlch(62.72, 61.88, 308.78°)
OKLaboklab(69.44% 0.0833 -0.1351)
OKLCHoklch(69.44% 0.159 301.6)
XYZxyz(41.0910, 31.2522, 84.7398)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF82EE #C1EE82
analogous
#828BEE #AF82EE #E582EE
triadic
#AF82EE #EEAF82 #82EEAF
tetradic
#AF82EE #EE828B #C1EE82 #82EEE5
square
#AF82EE #EE828B #C1EE82 #82EEE5
split-complementary
#AF82EE #EEE582 #8BEE82
monochromatic
#6B1DD8 #8D4CE7 #AF82EE #D1B8F5 #EEE4FB

Accessibility & contrast

On white

2.90
#AF82EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#AF82EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF82EE
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF82EE#FFFFFF#000000##000000
##AF82EE1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F2
Deuteranopia (green-blind)
#6E97EB
Tritanopia (blue-blind)
#A395AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af82ee;
/* rgb */ color: rgb(175, 130, 238);
/* oklch */ color: oklch(69.4% 0.159 301.6);
Tailwind
colors: {
  custom: {
    50: '#c9a7f4',
    500: '#af82ee',
    950: '#000000',
  },
}
SCSS
$custom: #af82ee;
$custom-light: #c9a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af82ee",
  "rgb": {
    "r": 175,
    "g": 130,
    "b": 238
  },
  "hsl": {
    "h": 265,
    "s": 76.056,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69441,
    "c": 0.15873,
    "h": 301.6
  },
  "luminance": 0.31252
}

Semantic roles & 50–950 ramp

primary
#AF82EE
secondary
#E8F3D8
accent
#D80D84
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF82EE

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

Preview Lab → · Contrast checker → · Palette generator →

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