#AF55DD#AF55DD

#AF55DD is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.8% C 0.208 H 312.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF55DD
RGBrgb(175, 85, 221)
HSLhsl(280, 67%, 60%)
HSVhsv(280, 62%, 87%)
CMYKcmyk(20.8%, 61.5%, 0%, 13.3%)
CIE-LABlab(52.77, 58.45, -54.56)
CIE-LCHlch(52.77, 79.96, 316.97°)
OKLaboklab(61.8% 0.1401 -0.1534)
OKLCHoklch(61.8% 0.208 312.4)
XYZxyz(33.9765, 20.8323, 70.6238)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55DD #83DD55
analogous
#6B55DD #AF55DD #DD55C7
triadic
#AF55DD #DDAF55 #55DDAF
tetradic
#AF55DD #DD6B55 #83DD55 #55C7DD
square
#AF55DD #DD6B55 #83DD55 #55C7DD
split-complementary
#AF55DD #C7DD55 #55DD6B
monochromatic
#701F99 #9529CC #AF55DD #C788E7 #DFBBF1

Accessibility & contrast

On white

4.06
#AF55DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AF55DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55DD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55DD#FFFFFF#000000##000000
##AF55DD1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E79E1
Deuteranopia (green-blind)
#4B80DA
Tritanopia (blue-blind)
#AA6F91
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af55dd;
/* rgb */ color: rgb(175, 85, 221);
/* oklch */ color: oklch(61.8% 0.208 312.4);
Tailwind
colors: {
  custom: {
    50: '#ca8ae8',
    500: '#af55dd',
    950: '#000000',
  },
}
SCSS
$custom: #af55dd;
$custom-light: #ca8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#af55dd",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 221
  },
  "hsl": {
    "h": 279.706,
    "s": 66.667,
    "l": 60
  },
  "oklch": {
    "l": 0.61798,
    "c": 0.20779,
    "h": 312.4
  },
  "luminance": 0.20831
}

Semantic roles & 50–950 ramp

primary
#AF55DD
secondary
#BEE1AD
accent
#EA3E78
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF55DD

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

Preview Lab → · Contrast checker → · Palette generator →

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