#AF55E2#AF55E2

#AF55E2 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.1% C 0.213 H 311.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF55E2
RGBrgb(175, 85, 226)
HSLhsl(278, 71%, 61%)
HSVhsv(278, 62%, 89%)
CMYKcmyk(22.6%, 62.4%, 0%, 11.4%)
CIE-LABlab(53.06, 59.51, -56.92)
CIE-LCHlch(53.06, 82.35, 316.28°)
OKLaboklab(62.11% 0.14 -0.1603)
OKLCHoklch(62.11% 0.213 311.1)
XYZxyz(34.6526, 21.1027, 74.1845)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55E2 #88E255
analogous
#6855E2 #AF55E2 #E255CE
triadic
#AF55E2 #E2AF55 #55E2AF
tetradic
#AF55E2 #E26855 #88E255 #55CEE2
square
#AF55E2 #E26855 #88E255 #55CEE2
split-complementary
#AF55E2 #CEE255 #55E268
monochromatic
#711BA1 #9524D5 #AF55E2 #C889EB #E0BEF4

Accessibility & contrast

On white

4.02
#AF55E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AF55E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55E2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55E2#FFFFFF#000000##000000
##AF55E21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#107AE6
Deuteranopia (green-blind)
#4780DF
Tritanopia (blue-blind)
#A97094
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af55e2;
/* rgb */ color: rgb(175, 85, 226);
/* oklch */ color: oklch(62.1% 0.213 311.1);
Tailwind
colors: {
  custom: {
    50: '#cb8aec',
    500: '#af55e2',
    950: '#000000',
  },
}
SCSS
$custom: #af55e2;
$custom-light: #cb8aec;
$custom-dark: #000000;
JSON
{
  "hex": "#af55e2",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 226
  },
  "hsl": {
    "h": 278.298,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62108,
    "c": 0.21285,
    "h": 311.1
  },
  "luminance": 0.21102
}

Semantic roles & 50–950 ramp

primary
#AF55E2
secondary
#C2E4AF
accent
#D31358
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF55E2

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

Preview Lab → · Contrast checker → · Palette generator →

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