#AF55E6#AF55E6

#AF55E6 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.4% C 0.217 H 310.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AF55E6
RGBrgb(175, 85, 230)
HSLhsl(277, 74%, 62%)
HSVhsv(277, 63%, 90%)
CMYKcmyk(23.9%, 63%, 0%, 9.8%)
CIE-LABlab(53.30, 60.37, -58.78)
CIE-LCHlch(53.30, 84.26, 315.76°)
OKLaboklab(62.36% 0.1398 -0.1658)
OKLCHoklch(62.36% 0.217 310.1)
XYZxyz(35.2079, 21.3248, 77.1090)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55E6 #8CE655
analogous
#6755E6 #AF55E6 #E655D5
triadic
#AF55E6 #E6AF55 #55E6AF
tetradic
#AF55E6 #E66755 #8CE655 #55D5E6
square
#AF55E6 #E66755 #8CE655 #55D5E6
split-complementary
#AF55E6 #D5E655 #55E667
monochromatic
#7219A8 #9621DD #AF55E6 #C88AEE #E1C0F6

Accessibility & contrast

On white

3.99
#AF55E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#AF55E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55E6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55E6#FFFFFF#000000##000000
##AF55E61.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#4281E3
Tritanopia (blue-blind)
#A87296
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af55e6;
/* rgb */ color: rgb(175, 85, 230);
/* oklch */ color: oklch(62.4% 0.217 310.1);
Tailwind
colors: {
  custom: {
    50: '#cb8aef',
    500: '#af55e6',
    950: '#000000',
  },
}
SCSS
$custom: #af55e6;
$custom-light: #cb8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#af55e6",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 230
  },
  "hsl": {
    "h": 277.241,
    "s": 74.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6236,
    "c": 0.2169,
    "h": 310.1
  },
  "luminance": 0.21324
}

Semantic roles & 50–950 ramp

primary
#AF55E6
secondary
#C5E6B1
accent
#D60F5B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF55E6

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

Preview Lab → · Contrast checker → · Palette generator →

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