#AF84F0#AF84F0

#AF84F0 is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.9% C 0.158 H 300.8°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#AF84F0
RGBrgb(175, 132, 240)
HSLhsl(264, 78%, 73%)
HSVhsv(264, 45%, 94%)
CMYKcmyk(27.1%, 45%, 0%, 5.9%)
CIE-LABlab(63.27, 38.13, -48.48)
CIE-LCHlch(63.27, 61.68, 308.18°)
OKLaboklab(69.88% 0.0809 -0.1358)
OKLCHoklch(69.88% 0.158 300.8)
XYZxyz(41.6551, 31.9076, 86.3854)
Luminance0.3191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF84F0 #C5F084
analogous
#848FF0 #AF84F0 #E584F0
triadic
#AF84F0 #F0AF84 #84F0AF
tetradic
#AF84F0 #F0848F #C5F084 #84F0E5
square
#AF84F0 #F0848F #C5F084 #84F0E5
split-complementary
#AF84F0 #F0E584 #8FF084
monochromatic
#691BDE #8C4DE9 #AF84F0 #D2BBF7 #EDE4FC

Accessibility & contrast

On white

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

On black

7.38
#AF84F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF84F0
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF84F0#FFFFFF#000000##000000
##AF84F01.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6599F4
Deuteranopia (green-blind)
#6E99ED
Tritanopia (blue-blind)
#A397AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af84f0;
/* rgb */ color: rgb(175, 132, 240);
/* oklch */ color: oklch(69.9% 0.158 300.8);
Tailwind
colors: {
  custom: {
    50: '#c9a8f5',
    500: '#af84f0',
    950: '#000000',
  },
}
SCSS
$custom: #af84f0;
$custom-light: #c9a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#af84f0",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 240
  },
  "hsl": {
    "h": 263.889,
    "s": 78.261,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69883,
    "c": 0.15809,
    "h": 300.8
  },
  "luminance": 0.31908
}

Semantic roles & 50–950 ramp

primary
#AF84F0
secondary
#E8F3D8
accent
#DB0B88
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AF84F0

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

Preview Lab → · Contrast checker → · Palette generator →

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