#AF49E7#AF49E7

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

Color values

HEX#AF49E7
RGBrgb(175, 73, 231)
HSLhsl(279, 77%, 60%)
HSVhsv(279, 68%, 91%)
CMYKcmyk(24.2%, 68.4%, 0%, 9.4%)
CIE-LABlab(51.44, 65.93, -62.35)
CIE-LCHlch(51.44, 90.74, 316.60°)
OKLaboklab(61.04% 0.1528 -0.1762)
OKLCHoklch(61.04% 0.233 310.9)
XYZxyz(34.4828, 19.6494, 77.5620)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49E7 #81E749
analogous
#6049E7 #AF49E7 #E749D0
triadic
#AF49E7 #E7AF49 #49E7AF
tetradic
#AF49E7 #E76049 #81E749 #49D0E7
square
#AF49E7 #E76049 #81E749 #49D0E7
split-complementary
#AF49E7 #D0E749 #49E760
monochromatic
#6F15A0 #951CD7 #AF49E7 #C77FEE #DFB5F5

Accessibility & contrast

On white

4.26
#AF49E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AF49E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49E7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49E7#FFFFFF#000000##000000
##AF49E71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#337CE4
Tritanopia (blue-blind)
#A86B93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af49e7;
/* rgb */ color: rgb(175, 73, 231);
/* oklch */ color: oklch(61.0% 0.233 310.9);
Tailwind
colors: {
  custom: {
    50: '#cb83ef',
    500: '#af49e7',
    950: '#000000',
  },
}
SCSS
$custom: #af49e7;
$custom-light: #cb83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#af49e7",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 231
  },
  "hsl": {
    "h": 278.734,
    "s": 76.699,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6104,
    "c": 0.23323,
    "h": 310.9
  },
  "luminance": 0.19649
}

Semantic roles & 50–950 ramp

primary
#AF49E7
secondary
#BDE5A7
accent
#F33578
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #AF49E7

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

Preview Lab → · Contrast checker → · Palette generator →

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