#AF4AE0#AF4AE0

#AF4AE0 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.7% C 0.225 H 312.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF4AE0
RGBrgb(175, 74, 224)
HSLhsl(280, 71%, 58%)
HSVhsv(280, 67%, 88%)
CMYKcmyk(21.9%, 67%, 0%, 12.2%)
CIE-LABlab(51.15, 64.05, -58.86)
CIE-LCHlch(51.15, 86.99, 317.42°)
OKLaboklab(60.69% 0.1524 -0.166)
OKLCHoklch(60.69% 0.225 312.6)
XYZxyz(33.5801, 19.3943, 72.4811)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4AE0 #7BE04A
analogous
#644AE0 #AF4AE0 #E04AC6
triadic
#AF4AE0 #E0AF4A #4AE0AF
tetradic
#AF4AE0 #E0644A #7BE04A #4AC6E0
square
#AF4AE0 #E0644A #7BE04A #4AC6E0
split-complementary
#AF4AE0 #C6E04A #4AE064
monochromatic
#6D1A96 #9323CA #AF4AE0 #C67EE9 #DDB3F2

Accessibility & contrast

On white

4.30
#AF4AE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AF4AE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4AE0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4AE0#FFFFFF#000000##000000
##AF4AE01.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E4
Deuteranopia (green-blind)
#3D7CDD
Tritanopia (blue-blind)
#AA698F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af4ae0;
/* rgb */ color: rgb(175, 74, 224);
/* oklch */ color: oklch(60.7% 0.225 312.6);
Tailwind
colors: {
  custom: {
    50: '#cb84ea',
    500: '#af4ae0',
    950: '#000000',
  },
}
SCSS
$custom: #af4ae0;
$custom-light: #cb84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ae0",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 224
  },
  "hsl": {
    "h": 280.4,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.22533,
    "h": 312.6
  },
  "luminance": 0.19393
}

Semantic roles & 50–950 ramp

primary
#AF4AE0
secondary
#B9E1A5
accent
#EE3A75
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF4AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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