#AF61E7#AF61E7

#AF61E7 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.0% C 0.201 H 308.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AF61E7
RGBrgb(175, 97, 231)
HSLhsl(275, 74%, 64%)
HSVhsv(275, 58%, 91%)
CMYKcmyk(24.2%, 58%, 0%, 9.4%)
CIE-LABlab(55.52, 54.76, -55.80)
CIE-LCHlch(55.52, 78.18, 314.46°)
OKLaboklab(63.99% 0.1256 -0.1571)
OKLCHoklch(63.99% 0.201 308.6)
XYZxyz(36.3748, 23.4334, 78.1927)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61E7 #99E761
analogous
#6C61E7 #AF61E7 #E761DC
triadic
#AF61E7 #E7AF61 #61E7AF
tetradic
#AF61E7 #E76C61 #99E761 #61DCE7
square
#AF61E7 #E76C61 #99E761 #61DCE7
split-complementary
#AF61E7 #DCE761 #61E76C
monochromatic
#731BB2 #942CDF #AF61E7 #CA96EF #E5CBF7

Accessibility & contrast

On white

3.69
#AF61E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#AF61E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61E7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61E7#FFFFFF#000000##000000
##AF61E71.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E82EB
Deuteranopia (green-blind)
#4F86E4
Tritanopia (blue-blind)
#A77A9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af61e7;
/* rgb */ color: rgb(175, 97, 231);
/* oklch */ color: oklch(64.0% 0.201 308.6);
Tailwind
colors: {
  custom: {
    50: '#ca91ef',
    500: '#af61e7',
    950: '#000000',
  },
}
SCSS
$custom: #af61e7;
$custom-light: #ca91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#af61e7",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 274.925,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63986,
    "c": 0.20112,
    "h": 308.6
  },
  "luminance": 0.23433
}

Semantic roles & 50–950 ramp

primary
#AF61E7
secondary
#CEE9BB
accent
#D61062
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF61E7

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

Preview Lab → · Contrast checker → · Palette generator →

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