#AF83EE#AF83EE

#AF83EE is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.6% C 0.157 H 301.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#AF83EE
RGBrgb(175, 131, 238)
HSLhsl(265, 76%, 72%)
HSVhsv(265, 45%, 93%)
CMYKcmyk(26.5%, 45%, 0%, 6.7%)
CIE-LABlab(62.94, 38.20, -47.89)
CIE-LCHlch(62.94, 61.26, 308.58°)
OKLaboklab(69.61% 0.0819 -0.1341)
OKLCHoklch(69.61% 0.157 301.4)
XYZxyz(41.2246, 31.5195, 84.7844)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF83EE #C2EE83
analogous
#838CEE #AF83EE #E583EE
triadic
#AF83EE #EEAF83 #83EEAF
tetradic
#AF83EE #EE838C #C2EE83 #83EEE5
square
#AF83EE #EE838C #C2EE83 #83EEE5
split-complementary
#AF83EE #EEE583 #8CEE83
monochromatic
#6B1ED9 #8C4DE7 #AF83EE #D2B9F5 #EEE4FB

Accessibility & contrast

On white

2.88
#AF83EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#AF83EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF83EE
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF83EE#FFFFFF#000000##000000
##AF83EE1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F2
Deuteranopia (green-blind)
#6F98EB
Tritanopia (blue-blind)
#A396AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af83ee;
/* rgb */ color: rgb(175, 131, 238);
/* oklch */ color: oklch(69.6% 0.157 301.4);
Tailwind
colors: {
  custom: {
    50: '#c9a8f4',
    500: '#af83ee',
    950: '#000000',
  },
}
SCSS
$custom: #af83ee;
$custom-light: #c9a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af83ee",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 238
  },
  "hsl": {
    "h": 264.673,
    "s": 75.887,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69609,
    "c": 0.15715,
    "h": 301.4
  },
  "luminance": 0.3152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF83EE

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

Preview Lab → · Contrast checker → · Palette generator →

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