#AF4AE1#AF4AE1

#AF4AE1 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.8% C 0.226 H 312.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AF4AE1
RGBrgb(175, 74, 225)
HSLhsl(280, 72%, 59%)
HSVhsv(280, 67%, 88%)
CMYKcmyk(22.2%, 67.1%, 0%, 11.8%)
CIE-LABlab(51.21, 64.26, -59.33)
CIE-LCHlch(51.21, 87.46, 317.28°)
OKLaboklab(60.75% 0.1523 -0.1673)
OKLCHoklch(60.75% 0.226 312.3)
XYZxyz(33.7161, 19.4487, 73.1974)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4AE1 #7CE14A
analogous
#634AE1 #AF4AE1 #E14AC8
triadic
#AF4AE1 #E1AF4A #4AE1AF
tetradic
#AF4AE1 #E1634A #7CE14A #4AC8E1
square
#AF4AE1 #E1634A #7CE14A #4AC8E1
split-complementary
#AF4AE1 #C8E14A #4AE163
monochromatic
#6E1997 #9422CC #AF4AE1 #C67EEA #DDB3F2

Accessibility & contrast

On white

4.29
#AF4AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AF4AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4AE1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4AE1#FFFFFF#000000##000000
##AF4AE11.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#3C7CDE
Tritanopia (blue-blind)
#A96990
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af4ae1;
/* rgb */ color: rgb(175, 74, 225);
/* oklch */ color: oklch(60.8% 0.226 312.3);
Tailwind
colors: {
  custom: {
    50: '#cb84eb',
    500: '#af4ae1',
    950: '#000000',
  },
}
SCSS
$custom: #af4ae1;
$custom-light: #cb84eb;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ae1",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 280.132,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60753,
    "c": 0.22628,
    "h": 312.3
  },
  "luminance": 0.19448
}

Semantic roles & 50–950 ramp

primary
#AF4AE1
secondary
#B9E1A6
accent
#EE3975
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF4AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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