#AF55D7#AF55D7

#AF55D7 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.4% C 0.202 H 314.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AF55D7
RGBrgb(175, 85, 215)
HSLhsl(282, 62%, 59%)
HSVhsv(282, 60%, 84%)
CMYKcmyk(18.6%, 60.5%, 0%, 15.7%)
CIE-LABlab(52.42, 57.19, -51.72)
CIE-LCHlch(52.42, 77.11, 317.88°)
OKLaboklab(61.43% 0.1402 -0.1451)
OKLCHoklch(61.43% 0.202 314)
XYZxyz(33.1914, 20.5182, 66.4888)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55D7 #7DD755
analogous
#6E55D7 #AF55D7 #D755BE
triadic
#AF55D7 #D7AF55 #55D7AF
tetradic
#AF55D7 #D76E55 #7DD755 #55BED7
square
#AF55D7 #D76E55 #7DD755 #55BED7
split-complementary
#AF55D7 #BED755 #55D76E
monochromatic
#6E2290 #942DC1 #AF55D7 #C687E3 #DEB8EE

Accessibility & contrast

On white

4.11
#AF55D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AF55D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55D7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55D7#FFFFFF#000000##000000
##AF55D71.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2878DB
Deuteranopia (green-blind)
#507FD4
Tritanopia (blue-blind)
#AB6C8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #af55d7;
/* rgb */ color: rgb(175, 85, 215);
/* oklch */ color: oklch(61.4% 0.202 314.0);
Tailwind
colors: {
  custom: {
    50: '#ca8ae4',
    500: '#af55d7',
    950: '#000000',
  },
}
SCSS
$custom: #af55d7;
$custom-light: #ca8ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#af55d7",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 215
  },
  "hsl": {
    "h": 281.538,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61434,
    "c": 0.20173,
    "h": 314
  },
  "luminance": 0.20517
}

Semantic roles & 50–950 ramp

primary
#AF55D7
secondary
#BADEAA
accent
#E54375
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF55D7

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

Preview Lab → · Contrast checker → · Palette generator →

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