#AF82F7#AF82F7

#AF82F7 is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.9% C 0.170 H 299.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#AF82F7
RGBrgb(175, 130, 247)
HSLhsl(263, 88%, 74%)
HSVhsv(263, 47%, 97%)
CMYKcmyk(29.1%, 47.4%, 0%, 3.1%)
CIE-LABlab(63.17, 40.92, -52.49)
CIE-LCHlch(63.17, 66.56, 307.94°)
OKLaboklab(69.93% 0.0844 -0.1475)
OKLCHoklch(69.93% 0.17 299.8)
XYZxyz(42.4464, 31.7944, 91.8783)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF82F7 #CAF782
analogous
#8290F7 #AF82F7 #EA82F7
triadic
#AF82F7 #F7AF82 #82F7AF
tetradic
#AF82F7 #F78290 #CAF782 #82F7EA
square
#AF82F7 #F78290 #CAF782 #82F7EA
split-complementary
#AF82F7 #F7EA82 #90F782
monochromatic
#650FEF #8A48F3 #AF82F7 #D4BCFB #EDE2FD

Accessibility & contrast

On white

2.85
#AF82F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#AF82F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF82F7
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF82F7#FFFFFF#000000##000000
##AF82F71.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FB
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#A197B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af82f7;
/* rgb */ color: rgb(175, 130, 247);
/* oklch */ color: oklch(69.9% 0.170 299.8);
Tailwind
colors: {
  custom: {
    50: '#caa7fa',
    500: '#af82f7',
    950: '#000000',
  },
}
SCSS
$custom: #af82f7;
$custom-light: #caa7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#af82f7",
  "rgb": {
    "r": 175,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 263.077,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69927,
    "c": 0.16994,
    "h": 299.8
  },
  "luminance": 0.31795
}

Semantic roles & 50–950 ramp

primary
#AF82F7
secondary
#E9F5D6
accent
#E5018D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AF82F7

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

Preview Lab → · Contrast checker → · Palette generator →

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