#AF61DA#AF61DA

#AF61DA is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.2% C 0.187 H 312.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AF61DA
RGBrgb(175, 97, 218)
HSLhsl(279, 62%, 62%)
HSVhsv(279, 56%, 85%)
CMYKcmyk(19.7%, 55.5%, 0%, 14.5%)
CIE-LABlab(54.79, 51.91, -49.64)
CIE-LCHlch(54.79, 71.82, 316.28°)
OKLaboklab(63.22% 0.1252 -0.1391)
OKLCHoklch(63.22% 0.187 312)
XYZxyz(34.6065, 22.7261, 68.8796)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61DA #8CDA61
analogous
#7361DA #AF61DA #DA61C8
triadic
#AF61DA #DAAF61 #61DAAF
tetradic
#AF61DA #DA7361 #8CDA61 #61C8DA
square
#AF61DA #DA7361 #8CDA61 #61C8DA
split-complementary
#AF61DA #C8DA61 #61DA73
monochromatic
#72259C #9630CE #AF61DA #C893E6 #E1C4F1

Accessibility & contrast

On white

3.79
#AF61DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#AF61DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61DA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61DA#FFFFFF#000000##000000
##AF61DA1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7FDE
Deuteranopia (green-blind)
#5985D7
Tritanopia (blue-blind)
#AA7694
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af61da;
/* rgb */ color: rgb(175, 97, 218);
/* oklch */ color: oklch(63.2% 0.187 312.0);
Tailwind
colors: {
  custom: {
    50: '#ca91e6',
    500: '#af61da',
    950: '#000000',
  },
}
SCSS
$custom: #af61da;
$custom-light: #ca91e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af61da",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 218
  },
  "hsl": {
    "h": 278.678,
    "s": 62.051,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63219,
    "c": 0.18713,
    "h": 312
  },
  "luminance": 0.22725
}

Semantic roles & 50–950 ramp

primary
#AF61DA
secondary
#C5E2B5
accent
#CA1C5A
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF61DA

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

Preview Lab → · Contrast checker → · Palette generator →

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