#AF47EE#AF47EE

#AF47EE is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.3% C 0.242 H 309.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF47EE
RGBrgb(175, 71, 238)
HSLhsl(277, 83%, 61%)
HSVhsv(277, 70%, 93%)
CMYKcmyk(26.5%, 70.2%, 0%, 6.7%)
CIE-LABlab(51.60, 68.22, -66.02)
CIE-LCHlch(51.60, 94.93, 315.94°)
OKLaboklab(61.3% 0.154 -0.187)
OKLCHoklch(61.3% 0.242 309.5)
XYZxyz(35.3620, 19.7942, 82.8302)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF47EE #86EE47
analogous
#5B47EE #AF47EE #EE47DA
triadic
#AF47EE #EEAF47 #47EEAF
tetradic
#AF47EE #EE5B47 #86EE47 #47DAEE
square
#AF47EE #EE5B47 #86EE47 #47DAEE
split-complementary
#AF47EE #DAEE47 #47EE5B
monochromatic
#7010AB #9515E3 #AF47EE #C77FF3 #E0B7F8

Accessibility & contrast

On white

4.24
#AF47EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AF47EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF47EE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF47EE#FFFFFF#000000##000000
##AF47EE1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#237CEA
Tritanopia (blue-blind)
#A66C96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af47ee;
/* rgb */ color: rgb(175, 71, 238);
/* oklch */ color: oklch(61.3% 0.242 309.5);
Tailwind
colors: {
  custom: {
    50: '#cc83f4',
    500: '#af47ee',
    950: '#000000',
  },
}
SCSS
$custom: #af47ee;
$custom-light: #cc83f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af47ee",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 238
  },
  "hsl": {
    "h": 277.365,
    "s": 83.085,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61304,
    "c": 0.24221,
    "h": 309.5
  },
  "luminance": 0.19793
}

Semantic roles & 50–950 ramp

primary
#AF47EE
secondary
#C1E8A9
accent
#E00658
background
#FDF8FF
surface
#FAEFFE
border
#D3CAD6
text
#140B17
muted
#837C85

Preview Lab

Preview with #AF47EE

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

Preview Lab → · Contrast checker → · Palette generator →

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