#AF48CE#AF48CE

#AF48CE is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.211 H 317.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF48CE
RGBrgb(175, 72, 206)
HSLhsl(286, 58%, 55%)
HSVhsv(286, 65%, 81%)
CMYKcmyk(15%, 65%, 0%, 19.2%)
CIE-LABlab(49.75, 61.29, -50.85)
CIE-LCHlch(49.75, 79.64, 320.32°)
OKLaboklab(59.33% 0.1555 -0.1425)
OKLCHoklch(59.33% 0.211 317.5)
XYZxyz(31.1355, 18.2062, 60.2546)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF48CE #67CE48
analogous
#6C48CE #AF48CE #CE48AA
triadic
#AF48CE #CEAF48 #48CEAF
tetradic
#AF48CE #CE6C48 #67CE48 #48AACE
square
#AF48CE #CE6C48 #67CE48 #48AACE
split-complementary
#AF48CE #AACE48 #48CE6C
monochromatic
#66217B #8E2EAB #AF48CE #C478DB #D9A9E8

Accessibility & contrast

On white

4.52
#AF48CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AF48CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF48CE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF48CE#FFFFFF#000000##000000
##AF48CE1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1470D2
Deuteranopia (green-blind)
#4C7ACB
Tritanopia (blue-blind)
#AE6085
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af48ce;
/* rgb */ color: rgb(175, 72, 206);
/* oklch */ color: oklch(59.3% 0.211 317.5);
Tailwind
colors: {
  custom: {
    50: '#ca82dd',
    500: '#af48ce',
    950: '#000000',
  },
}
SCSS
$custom: #af48ce;
$custom-light: #ca82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af48ce",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 286.119,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59333,
    "c": 0.21092,
    "h": 317.5
  },
  "luminance": 0.18205
}

Semantic roles & 50–950 ramp

primary
#AF48CE
secondary
#AAD59D
accent
#E1476A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF48CE

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

Preview Lab → · Contrast checker → · Palette generator →

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