#AF49E8#AF49E8

#AF49E8 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.1% C 0.234 H 310.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AF49E8
RGBrgb(175, 73, 232)
HSLhsl(278, 78%, 60%)
HSVhsv(278, 69%, 91%)
CMYKcmyk(24.6%, 68.5%, 0%, 9%)
CIE-LABlab(51.50, 66.13, -62.80)
CIE-LCHlch(51.50, 91.20, 316.48°)
OKLaboklab(61.11% 0.1527 -0.1775)
OKLCHoklch(61.11% 0.234 310.7)
XYZxyz(34.6244, 19.7060, 78.3080)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49E8 #82E849
analogous
#6049E8 #AF49E8 #E849D1
triadic
#AF49E8 #E8AF49 #49E8AF
tetradic
#AF49E8 #E86049 #82E849 #49D1E8
square
#AF49E8 #E86049 #82E849 #49D1E8
split-complementary
#AF49E8 #D1E849 #49E860
monochromatic
#6F14A2 #951BD8 #AF49E8 #C77FEF #DFB6F6

Accessibility & contrast

On white

4.25
#AF49E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AF49E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49E8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49E8#FFFFFF#000000##000000
##AF49E81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#317CE4
Tritanopia (blue-blind)
#A76B93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af49e8;
/* rgb */ color: rgb(175, 73, 232);
/* oklch */ color: oklch(61.1% 0.234 310.7);
Tailwind
colors: {
  custom: {
    50: '#cb83f0',
    500: '#af49e8',
    950: '#000000',
  },
}
SCSS
$custom: #af49e8;
$custom-light: #cb83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#af49e8",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 232
  },
  "hsl": {
    "h": 278.491,
    "s": 77.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61107,
    "c": 0.23417,
    "h": 310.7
  },
  "luminance": 0.19705
}

Semantic roles & 50–950 ramp

primary
#AF49E8
secondary
#BEE5A8
accent
#F43479
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #AF49E8

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

Preview Lab → · Contrast checker → · Palette generator →

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