#AF55EE#AF55EE

#AF55EE is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.9% C 0.225 H 308.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AF55EE
RGBrgb(175, 85, 238)
HSLhsl(275, 82%, 63%)
HSVhsv(275, 64%, 93%)
CMYKcmyk(26.5%, 64.3%, 0%, 6.7%)
CIE-LABlab(53.80, 62.10, -62.48)
CIE-LCHlch(53.80, 88.09, 314.83°)
OKLaboklab(62.87% 0.1394 -0.1766)
OKLCHoklch(62.87% 0.225 308.3)
XYZxyz(36.3572, 21.7846, 83.1619)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55EE #94EE55
analogous
#6255EE #AF55EE #EE55E0
triadic
#AF55EE #EEAF55 #55EEAF
tetradic
#AF55EE #EE6255 #94EE55 #55E0EE
square
#AF55EE #EE6255 #94EE55 #55E0EE
split-complementary
#AF55EE #E0EE55 #55EE62
monochromatic
#7312B6 #951DE8 #AF55EE #C98DF4 #E3C4F9

Accessibility & contrast

On white

3.92
#AF55EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#AF55EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55EE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55EE#FFFFFF#000000##000000
##AF55EE1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#3982EB
Tritanopia (blue-blind)
#A5759A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af55ee;
/* rgb */ color: rgb(175, 85, 238);
/* oklch */ color: oklch(62.9% 0.225 308.3);
Tailwind
colors: {
  custom: {
    50: '#cb8af4',
    500: '#af55ee',
    950: '#000000',
  },
}
SCSS
$custom: #af55ee;
$custom-light: #cb8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#af55ee",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 238
  },
  "hsl": {
    "h": 275.294,
    "s": 81.818,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62874,
    "c": 0.22503,
    "h": 308.3
  },
  "luminance": 0.21784
}

Semantic roles & 50–950 ramp

primary
#AF55EE
secondary
#CBEBB4
accent
#DE0760
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AF55EE

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

Preview Lab → · Contrast checker → · Palette generator →

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