#AF55E9#AF55E9

#AF55E9 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.6% C 0.220 H 309.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AF55E9
RGBrgb(175, 85, 233)
HSLhsl(276, 77%, 62%)
HSVhsv(276, 64%, 91%)
CMYKcmyk(24.9%, 63.5%, 0%, 8.6%)
CIE-LABlab(53.49, 61.02, -60.17)
CIE-LCHlch(53.49, 85.70, 315.40°)
OKLaboklab(62.55% 0.1397 -0.1699)
OKLCHoklch(62.55% 0.22 309.4)
XYZxyz(35.6328, 21.4948, 79.3468)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55E9 #8FE955
analogous
#6555E9 #AF55E9 #E955D9
triadic
#AF55E9 #E9AF55 #55E9AF
tetradic
#AF55E9 #E96555 #8FE955 #55D9E9
square
#AF55E9 #E96555 #8FE955 #55D9E9
split-complementary
#AF55E9 #D9E955 #55E965
monochromatic
#7216AD #951FE2 #AF55E9 #C88BF0 #E2C1F7

Accessibility & contrast

On white

3.96
#AF55E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#AF55E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55E9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55E9#FFFFFF#000000##000000
##AF55E91.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#3F81E6
Tritanopia (blue-blind)
#A77398
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af55e9;
/* rgb */ color: rgb(175, 85, 233);
/* oklch */ color: oklch(62.6% 0.220 309.4);
Tailwind
colors: {
  custom: {
    50: '#cb8af1',
    500: '#af55e9',
    950: '#000000',
  },
}
SCSS
$custom: #af55e9;
$custom-light: #cb8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#af55e9",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 233
  },
  "hsl": {
    "h": 276.486,
    "s": 77.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62551,
    "c": 0.21994,
    "h": 309.4
  },
  "luminance": 0.21494
}

Semantic roles & 50–950 ramp

primary
#AF55E9
secondary
#C7E8B2
accent
#D90C5D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AF55E9

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

Preview Lab → · Contrast checker → · Palette generator →

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