#AF69E4#AF69E4

#AF69E4 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.9% C 0.186 H 308.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AF69E4
RGBrgb(175, 105, 228)
HSLhsl(274, 69%, 65%)
HSVhsv(274, 54%, 89%)
CMYKcmyk(23.2%, 53.9%, 0%, 10.6%)
CIE-LABlab(56.90, 49.98, -51.91)
CIE-LCHlch(56.90, 72.06, 313.91°)
OKLaboklab(64.95% 0.1154 -0.1458)
OKLCHoklch(64.95% 0.186 308.4)
XYZxyz(36.7316, 24.8191, 76.2393)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF69E4 #9EE469
analogous
#7169E4 #AF69E4 #E469DC
triadic
#AF69E4 #E4AF69 #69E4AF
tetradic
#AF69E4 #E47169 #9EE469 #69DCE4
square
#AF69E4 #E47169 #9EE469 #69DCE4
split-complementary
#AF69E4 #DCE469 #69E471
monochromatic
#7320B2 #9335DB #AF69E4 #CB9DED #E6D1F7

Accessibility & contrast

On white

3.52
#AF69E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#AF69E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF69E4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF69E4#FFFFFF#000000##000000
##AF69E41.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4286E8
Deuteranopia (green-blind)
#5A89E1
Tritanopia (blue-blind)
#A77F9D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af69e4;
/* rgb */ color: rgb(175, 105, 228);
/* oklch */ color: oklch(64.9% 0.186 308.4);
Tailwind
colors: {
  custom: {
    50: '#ca96ed',
    500: '#af69e4',
    950: '#000000',
  },
}
SCSS
$custom: #af69e4;
$custom-light: #ca96ed;
$custom-dark: #000000;
JSON
{
  "hex": "#af69e4",
  "rgb": {
    "r": 175,
    "g": 105,
    "b": 228
  },
  "hsl": {
    "h": 274.146,
    "s": 69.492,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64946,
    "c": 0.1859,
    "h": 308.4
  },
  "luminance": 0.24819
}

Semantic roles & 50–950 ramp

primary
#AF69E4
secondary
#D2E9C0
accent
#D11466
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #AF69E4

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

Preview Lab → · Contrast checker → · Palette generator →

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