#AF49EE#AF49EE

#AF49EE is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.5% C 0.240 H 309.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AF49EE
RGBrgb(175, 73, 238)
HSLhsl(277, 83%, 61%)
HSVhsv(277, 69%, 93%)
CMYKcmyk(26.5%, 69.3%, 0%, 6.7%)
CIE-LABlab(51.90, 67.39, -65.54)
CIE-LCHlch(51.90, 94.01, 315.80°)
OKLaboklab(61.51% 0.152 -0.1856)
OKLCHoklch(61.51% 0.24 309.3)
XYZxyz(35.4913, 20.0528, 82.8733)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF49EE #88EE49
analogous
#5C49EE #AF49EE #EE49DA
triadic
#AF49EE #EEAF49 #49EEAF
tetradic
#AF49EE #EE5C49 #88EE49 #49DAEE
square
#AF49EE #EE5C49 #88EE49 #49DAEE
split-complementary
#AF49EE #DAEE49 #49EE5C
monochromatic
#7110AC #9515E4 #AF49EE #C881F3 #E0B9F8

Accessibility & contrast

On white

4.19
#AF49EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#AF49EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF49EE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF49EE#FFFFFF#000000##000000
##AF49EE1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#277DEA
Tritanopia (blue-blind)
#A66E97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #af49ee;
/* rgb */ color: rgb(175, 73, 238);
/* oklch */ color: oklch(61.5% 0.240 309.3);
Tailwind
colors: {
  custom: {
    50: '#cc84f4',
    500: '#af49ee',
    950: '#000000',
  },
}
SCSS
$custom: #af49ee;
$custom-light: #cc84f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af49ee",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 238
  },
  "hsl": {
    "h": 277.091,
    "s": 82.915,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61512,
    "c": 0.2399,
    "h": 309.3
  },
  "luminance": 0.20052
}

Semantic roles & 50–950 ramp

primary
#AF49EE
secondary
#C2E9AA
accent
#DF0659
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140B17
muted
#837C85

Preview Lab

Preview with #AF49EE

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

Preview Lab → · Contrast checker → · Palette generator →

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