#AF55D2#AF55D2

#AF55D2 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.197 H 315.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AF55D2
RGBrgb(175, 85, 210)
HSLhsl(283, 58%, 58%)
HSVhsv(283, 60%, 82%)
CMYKcmyk(16.7%, 59.5%, 0%, 17.6%)
CIE-LABlab(52.14, 56.16, -49.32)
CIE-LCHlch(52.14, 74.74, 318.71°)
OKLaboklab(61.14% 0.1401 -0.1381)
OKLCHoklch(61.14% 0.197 315.4)
XYZxyz(32.5587, 20.2652, 63.1568)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55D2 #78D255
analogous
#7055D2 #AF55D2 #D255B7
triadic
#AF55D2 #D2AF55 #55D2AF
tetradic
#AF55D2 #D27055 #78D255 #55B7D2
square
#AF55D2 #D27055 #78D255 #55B7D2
split-complementary
#AF55D2 #B7D255 #55D270
monochromatic
#6C2488 #9331B9 #AF55D2 #C685DF #DDB6EC

Accessibility & contrast

On white

4.16
#AF55D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#AF55D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55D2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55D2#FFFFFF#000000##000000
##AF55D21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F77D6
Deuteranopia (green-blind)
#547FCF
Tritanopia (blue-blind)
#AD6B8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #af55d2;
/* rgb */ color: rgb(175, 85, 210);
/* oklch */ color: oklch(61.1% 0.197 315.4);
Tailwind
colors: {
  custom: {
    50: '#ca89e0',
    500: '#af55d2',
    950: '#000000',
  },
}
SCSS
$custom: #af55d2;
$custom-light: #ca89e0;
$custom-dark: #000000;
JSON
{
  "hex": "#af55d2",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 210
  },
  "hsl": {
    "h": 283.2,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.19672,
    "h": 315.4
  },
  "luminance": 0.20264
}

Semantic roles & 50–950 ramp

primary
#AF55D2
secondary
#B6DAA8
accent
#E14672
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF55D2

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

Preview Lab → · Contrast checker → · Palette generator →

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