#AF61E8#AF61E8

#AF61E8 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.0% C 0.202 H 308.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AF61E8
RGBrgb(175, 97, 232)
HSLhsl(275, 75%, 65%)
HSVhsv(275, 58%, 91%)
CMYKcmyk(24.6%, 58.2%, 0%, 9%)
CIE-LABlab(55.57, 54.98, -56.27)
CIE-LCHlch(55.57, 78.67, 314.34°)
OKLaboklab(64.05% 0.1256 -0.1585)
OKLCHoklch(64.05% 0.202 308.4)
XYZxyz(36.5165, 23.4901, 78.9386)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61E8 #9AE861
analogous
#6C61E8 #AF61E8 #E861DD
triadic
#AF61E8 #E8AF61 #61E8AF
tetradic
#AF61E8 #E86C61 #9AE861 #61DDE8
square
#AF61E8 #E86C61 #9AE861 #61DDE8
split-complementary
#AF61E8 #DDE861 #61E86C
monochromatic
#731AB4 #942CE0 #AF61E8 #CA96F0 #E5CCF8

Accessibility & contrast

On white

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

On black

5.70
#AF61E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61E8
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61E8#FFFFFF#000000##000000
##AF61E81.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EC
Deuteranopia (green-blind)
#4E86E5
Tritanopia (blue-blind)
#A77B9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af61e8;
/* rgb */ color: rgb(175, 97, 232);
/* oklch */ color: oklch(64.0% 0.202 308.4);
Tailwind
colors: {
  custom: {
    50: '#ca91f0',
    500: '#af61e8',
    950: '#000000',
  },
}
SCSS
$custom: #af61e8;
$custom-light: #ca91f0;
$custom-dark: #000000;
JSON
{
  "hex": "#af61e8",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 232
  },
  "hsl": {
    "h": 274.667,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64046,
    "c": 0.2022,
    "h": 308.4
  },
  "luminance": 0.2349
}

Semantic roles & 50–950 ramp

primary
#AF61E8
secondary
#CFEABB
accent
#D70F63
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF61E8

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

Preview Lab → · Contrast checker → · Palette generator →

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