#AF49E6#AF49E6

#AF49E6 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 61.0% C 0.232 H 311.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AF49E6
RGBrgb(175, 73, 230)
HSLhsl(279, 76%, 59%)
HSVhsv(279, 68%, 90%)
CMYKcmyk(23.9%, 68.3%, 0%, 9.8%)
CIE-LABlab(51.37, 65.72, -61.89)
CIE-LCHlch(51.37, 90.27, 316.72°)
OKLaboklab(60.97% 0.1529 -0.1748)
OKLCHoklch(60.97% 0.232 311.2)
XYZxyz(34.3420, 19.5930, 76.8203)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49E6 #80E649
analogous
#6149E6 #AF49E6 #E649CE
triadic
#AF49E6 #E6AF49 #49E6AF
tetradic
#AF49E6 #E66149 #80E649 #49CEE6
square
#AF49E6 #E66149 #80E649 #49CEE6
split-complementary
#AF49E6 #CEE649 #49E661
monochromatic
#6F169F #941DD5 #AF49E6 #C77FED #DEB5F5

Accessibility & contrast

On white

4.27
#AF49E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AF49E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49E6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49E6#FFFFFF#000000##000000
##AF49E61.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#347CE3
Tritanopia (blue-blind)
#A86A92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af49e6;
/* rgb */ color: rgb(175, 73, 230);
/* oklch */ color: oklch(61.0% 0.232 311.2);
Tailwind
colors: {
  custom: {
    50: '#cb83ef',
    500: '#af49e6',
    950: '#000000',
  },
}
SCSS
$custom: #af49e6;
$custom-light: #cb83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#af49e6",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 230
  },
  "hsl": {
    "h": 278.981,
    "s": 75.845,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60973,
    "c": 0.23227,
    "h": 311.2
  },
  "luminance": 0.19592
}

Semantic roles & 50–950 ramp

primary
#AF49E6
secondary
#BCE4A7
accent
#F23578
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #AF49E6

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

Preview Lab → · Contrast checker → · Palette generator →

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