#AF4DE0#AF4DE0

#AF4DE0 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.0% C 0.222 H 312.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF4DE0
RGBrgb(175, 77, 224)
HSLhsl(280, 70%, 59%)
HSVhsv(280, 66%, 88%)
CMYKcmyk(21.9%, 65.6%, 0%, 12.2%)
CIE-LABlab(51.62, 62.74, -58.11)
CIE-LCHlch(51.62, 85.52, 317.20°)
OKLaboklab(61.03% 0.1491 -0.1638)
OKLCHoklch(61.03% 0.222 312.3)
XYZxyz(33.7852, 19.8044, 72.5495)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DE0 #7EE04D
analogous
#664DE0 #AF4DE0 #E04DC8
triadic
#AF4DE0 #E0AF4D #4DE0AF
tetradic
#AF4DE0 #E0664D #7EE04D #4DC8E0
square
#AF4DE0 #E0664D #7EE04D #4DC8E0
split-complementary
#AF4DE0 #C8E04D #4DE066
monochromatic
#6E1A98 #9424CC #AF4DE0 #C681E9 #DEB5F2

Accessibility & contrast

On white

4.23
#AF4DE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AF4DE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DE0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DE0#FFFFFF#000000##000000
##AF4DE01.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E4
Deuteranopia (green-blind)
#407DDD
Tritanopia (blue-blind)
#A96A90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af4de0;
/* rgb */ color: rgb(175, 77, 224);
/* oklch */ color: oklch(61.0% 0.222 312.3);
Tailwind
colors: {
  custom: {
    50: '#cb85ea',
    500: '#af4de0',
    950: '#000000',
  },
}
SCSS
$custom: #af4de0;
$custom-light: #cb85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#af4de0",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 224
  },
  "hsl": {
    "h": 280,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61026,
    "c": 0.22151,
    "h": 312.3
  },
  "luminance": 0.19804
}

Semantic roles & 50–950 ramp

primary
#AF4DE0
secondary
#BBE1A8
accent
#ED3B76
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF4DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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