#AF55F1#AF55F1

#AF55F1 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.1% C 0.228 H 307.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AF55F1
RGBrgb(175, 85, 241)
HSLhsl(275, 85%, 64%)
HSVhsv(275, 65%, 95%)
CMYKcmyk(27.4%, 64.7%, 0%, 5.5%)
CIE-LABlab(53.99, 62.76, -63.85)
CIE-LCHlch(53.99, 89.53, 314.51°)
OKLaboklab(63.07% 0.1392 -0.1807)
OKLCHoklch(63.07% 0.228 307.6)
XYZxyz(36.8016, 21.9623, 85.5025)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55F1 #97F155
analogous
#6155F1 #AF55F1 #F155E5
triadic
#AF55F1 #F1AF55 #55F1AF
tetradic
#AF55F1 #F16155 #97F155 #55E5F1
square
#AF55F1 #F16155 #97F155 #55E5F1
split-complementary
#AF55F1 #E5F155 #55F161
monochromatic
#730FBC #941CEC #AF55F1 #CA8EF6 #E4C6FA

Accessibility & contrast

On white

3.89
#AF55F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#AF55F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55F1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55F1#FFFFFF#000000##000000
##AF55F11.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#3582EE
Tritanopia (blue-blind)
#A5769C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af55f1;
/* rgb */ color: rgb(175, 85, 241);
/* oklch */ color: oklch(63.1% 0.228 307.6);
Tailwind
colors: {
  custom: {
    50: '#cb8af6',
    500: '#af55f1',
    950: '#000000',
  },
}
SCSS
$custom: #af55f1;
$custom-light: #cb8af6;
$custom-dark: #000000;
JSON
{
  "hex": "#af55f1",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 241
  },
  "hsl": {
    "h": 274.615,
    "s": 84.783,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63071,
    "c": 0.22807,
    "h": 307.6
  },
  "luminance": 0.21962
}

Semantic roles & 50–950 ramp

primary
#AF55F1
secondary
#CDECB6
accent
#E10462
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #AF55F1

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

Preview Lab → · Contrast checker → · Palette generator →

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