#AF61EA#AF61EA

#AF61EA is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.2% C 0.204 H 307.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AF61EA
RGBrgb(175, 97, 234)
HSLhsl(274, 77%, 65%)
HSVhsv(274, 59%, 92%)
CMYKcmyk(25.2%, 58.5%, 0%, 8.2%)
CIE-LABlab(55.69, 55.42, -57.20)
CIE-LCHlch(55.69, 79.65, 314.10°)
OKLaboklab(64.17% 0.1256 -0.1612)
OKLCHoklch(64.17% 0.204 307.9)
XYZxyz(36.8022, 23.6044, 80.4433)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61EA #9CEA61
analogous
#6B61EA #AF61EA #EA61E0
triadic
#AF61EA #EAAF61 #61EAAF
tetradic
#AF61EA #EA6B61 #9CEA61 #61E0EA
square
#AF61EA #EA6B61 #9CEA61 #61E0EA
split-complementary
#AF61EA #E0EA61 #61EA6B
monochromatic
#7318B8 #942BE3 #AF61EA #CA97F1 #E6CDF8

Accessibility & contrast

On white

3.67
#AF61EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#AF61EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61EA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61EA#FFFFFF#000000##000000
##AF61EA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982EE
Deuteranopia (green-blind)
#4C86E7
Tritanopia (blue-blind)
#A67B9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af61ea;
/* rgb */ color: rgb(175, 97, 234);
/* oklch */ color: oklch(64.2% 0.204 307.9);
Tailwind
colors: {
  custom: {
    50: '#ca91f1',
    500: '#af61ea',
    950: '#000000',
  },
}
SCSS
$custom: #af61ea;
$custom-light: #ca91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af61ea",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 274.161,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64168,
    "c": 0.20436,
    "h": 307.9
  },
  "luminance": 0.23604
}

Semantic roles & 50–950 ramp

primary
#AF61EA
secondary
#D0EBBC
accent
#D90D65
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF61EA

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

Preview Lab → · Contrast checker → · Palette generator →

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