#AF83E7#AF83E7

#AF83E7 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.2% C 0.148 H 303.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#AF83E7
RGBrgb(175, 131, 231)
HSLhsl(266, 68%, 71%)
HSVhsv(266, 43%, 91%)
CMYKcmyk(24.2%, 43.3%, 0%, 9.4%)
CIE-LABlab(62.61, 36.55, -44.55)
CIE-LCHlch(62.61, 57.62, 309.37°)
OKLaboklab(69.24% 0.0809 -0.1244)
OKLCHoklch(69.24% 0.148 303)
XYZxyz(40.2162, 31.1161, 79.4731)
Luminance0.3112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF83E7 #BBE783
analogous
#8389E7 #AF83E7 #E183E7
triadic
#AF83E7 #E7AF83 #83E7AF
tetradic
#AF83E7 #E78389 #BBE783 #83E7E1
square
#AF83E7 #E78389 #BBE783 #83E7E1
split-complementary
#AF83E7 #E7E183 #89E783
monochromatic
#6E27C9 #8E50DD #AF83E7 #D0B6F1 #EEE5FA

Accessibility & contrast

On white

2.91
#AF83E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#AF83E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF83E7
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF83E7#FFFFFF#000000##000000
##AF83E71.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6996EB
Deuteranopia (green-blind)
#7397E4
Tritanopia (blue-blind)
#A594AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af83e7;
/* rgb */ color: rgb(175, 131, 231);
/* oklch */ color: oklch(69.2% 0.148 303.0);
Tailwind
colors: {
  custom: {
    50: '#c9a8ef',
    500: '#af83e7',
    950: '#000000',
  },
}
SCSS
$custom: #af83e7;
$custom-light: #c9a8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#af83e7",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 231
  },
  "hsl": {
    "h": 266.4,
    "s": 67.568,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69244,
    "c": 0.14838,
    "h": 303
  },
  "luminance": 0.31116
}

Semantic roles & 50–950 ramp

primary
#AF83E7
secondary
#E4F0D6
accent
#CF167E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AF83E7

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

Preview Lab → · Contrast checker → · Palette generator →

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