#AF55F0#AF55F0

#AF55F0 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.0% C 0.227 H 307.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AF55F0
RGBrgb(175, 85, 240)
HSLhsl(275, 84%, 64%)
HSVhsv(275, 65%, 94%)
CMYKcmyk(27.1%, 64.6%, 0%, 5.9%)
CIE-LABlab(53.92, 62.54, -63.39)
CIE-LCHlch(53.92, 89.05, 314.61°)
OKLaboklab(63.01% 0.1393 -0.1793)
OKLCHoklch(63.01% 0.227 307.8)
XYZxyz(36.6526, 21.9027, 84.7180)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55F0 #96F055
analogous
#6155F0 #AF55F0 #F055E3
triadic
#AF55F0 #F0AF55 #55F0AF
tetradic
#AF55F0 #F06155 #96F055 #55E3F0
square
#AF55F0 #F06155 #96F055 #55E3F0
split-complementary
#AF55F0 #E3F055 #55F061
monochromatic
#7310BA #951DEB #AF55F0 #C98DF5 #E4C5FA

Accessibility & contrast

On white

3.90
#AF55F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#AF55F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55F0
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55F0#FFFFFF#000000##000000
##AF55F01.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#3682ED
Tritanopia (blue-blind)
#A5769B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af55f0;
/* rgb */ color: rgb(175, 85, 240);
/* oklch */ color: oklch(63.0% 0.227 307.8);
Tailwind
colors: {
  custom: {
    50: '#cb8af6',
    500: '#af55f0',
    950: '#000000',
  },
}
SCSS
$custom: #af55f0;
$custom-light: #cb8af6;
$custom-dark: #000000;
JSON
{
  "hex": "#af55f0",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 240
  },
  "hsl": {
    "h": 274.839,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63005,
    "c": 0.22705,
    "h": 307.8
  },
  "luminance": 0.21902
}

Semantic roles & 50–950 ramp

primary
#AF55F0
secondary
#CCECB5
accent
#E00561
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AF55F0

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

Preview Lab → · Contrast checker → · Palette generator →

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