#AF55E4#AF55E4

#AF55E4 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.2% C 0.215 H 310.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF55E4
RGBrgb(175, 85, 228)
HSLhsl(278, 73%, 61%)
HSVhsv(278, 63%, 89%)
CMYKcmyk(23.2%, 62.7%, 0%, 10.6%)
CIE-LABlab(53.18, 59.94, -57.85)
CIE-LCHlch(53.18, 83.30, 316.02°)
OKLaboklab(62.23% 0.1399 -0.1631)
OKLCHoklch(62.23% 0.215 310.6)
XYZxyz(34.9286, 21.2131, 75.6383)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55E4 #8AE455
analogous
#6855E4 #AF55E4 #E455D2
triadic
#AF55E4 #E4AF55 #55E4AF
tetradic
#AF55E4 #E46855 #8AE455 #55D2E4
square
#AF55E4 #E46855 #8AE455 #55D2E4
split-complementary
#AF55E4 #D2E455 #55E468
monochromatic
#711AA4 #9623D9 #AF55E4 #C88AEC #E1BFF5

Accessibility & contrast

On white

4.01
#AF55E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#AF55E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55E4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55E4#FFFFFF#000000##000000
##AF55E41.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#067BE8
Deuteranopia (green-blind)
#4581E1
Tritanopia (blue-blind)
#A87195
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af55e4;
/* rgb */ color: rgb(175, 85, 228);
/* oklch */ color: oklch(62.2% 0.215 310.6);
Tailwind
colors: {
  custom: {
    50: '#cb8aed',
    500: '#af55e4',
    950: '#000000',
  },
}
SCSS
$custom: #af55e4;
$custom-light: #cb8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#af55e4",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 277.762,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62233,
    "c": 0.21488,
    "h": 310.6
  },
  "luminance": 0.21212
}

Semantic roles & 50–950 ramp

primary
#AF55E4
secondary
#C3E5B0
accent
#D51159
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF55E4

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

Preview Lab → · Contrast checker → · Palette generator →

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