#AF61E6#AF61E6

#AF61E6 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 63.9% C 0.200 H 308.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AF61E6
RGBrgb(175, 97, 230)
HSLhsl(275, 73%, 64%)
HSVhsv(275, 58%, 90%)
CMYKcmyk(23.9%, 57.8%, 0%, 9.8%)
CIE-LABlab(55.46, 54.53, -55.33)
CIE-LCHlch(55.46, 77.69, 314.59°)
OKLaboklab(63.93% 0.1256 -0.1557)
OKLCHoklch(63.93% 0.2 308.9)
XYZxyz(36.2340, 23.3771, 77.4510)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61E6 #98E661
analogous
#6D61E6 #AF61E6 #E661DB
triadic
#AF61E6 #E6AF61 #61E6AF
tetradic
#AF61E6 #E66D61 #98E661 #61DBE6
square
#AF61E6 #E66D61 #98E661 #61DBE6
split-complementary
#AF61E6 #DBE661 #61E66D
monochromatic
#731CB1 #942CDE #AF61E6 #CA96EE #E5CBF7

Accessibility & contrast

On white

3.70
#AF61E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#AF61E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61E6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61E6#FFFFFF#000000##000000
##AF61E61.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EA
Deuteranopia (green-blind)
#5086E3
Tritanopia (blue-blind)
#A77A9A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af61e6;
/* rgb */ color: rgb(175, 97, 230);
/* oklch */ color: oklch(63.9% 0.200 308.9);
Tailwind
colors: {
  custom: {
    50: '#ca91ee',
    500: '#af61e6',
    950: '#000000',
  },
}
SCSS
$custom: #af61e6;
$custom-light: #ca91ee;
$custom-dark: #000000;
JSON
{
  "hex": "#af61e6",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 230
  },
  "hsl": {
    "h": 275.188,
    "s": 72.678,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63926,
    "c": 0.20004,
    "h": 308.9
  },
  "luminance": 0.23377
}

Semantic roles & 50–950 ramp

primary
#AF61E6
secondary
#CDE9BA
accent
#D51162
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF61E6

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

Preview Lab → · Contrast checker → · Palette generator →

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