#AF61EB#AF61EB

#AF61EB is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.2% C 0.205 H 307.7°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AF61EB
RGBrgb(175, 97, 235)
HSLhsl(274, 78%, 65%)
HSVhsv(274, 59%, 92%)
CMYKcmyk(25.5%, 58.7%, 0%, 7.8%)
CIE-LABlab(55.75, 55.65, -57.67)
CIE-LCHlch(55.75, 80.14, 313.98°)
OKLaboklab(64.23% 0.1256 -0.1626)
OKLCHoklch(64.23% 0.205 307.7)
XYZxyz(36.9462, 23.6620, 81.2020)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61EB #9DEB61
analogous
#6A61EB #AF61EB #EB61E2
triadic
#AF61EB #EBAF61 #61EBAF
tetradic
#AF61EB #EB6A61 #9DEB61 #61E2EB
square
#AF61EB #EB6A61 #9DEB61 #61E2EB
split-complementary
#AF61EB #E2EB61 #61EB6A
monochromatic
#7318BA #932BE4 #AF61EB #CB97F2 #E6CEF9

Accessibility & contrast

On white

3.66
#AF61EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#AF61EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61EB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61EB#FFFFFF#000000##000000
##AF61EB1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883EF
Deuteranopia (green-blind)
#4B86E8
Tritanopia (blue-blind)
#A67C9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af61eb;
/* rgb */ color: rgb(175, 97, 235);
/* oklch */ color: oklch(64.2% 0.205 307.7);
Tailwind
colors: {
  custom: {
    50: '#ca91f2',
    500: '#af61eb',
    950: '#000000',
  },
}
SCSS
$custom: #af61eb;
$custom-light: #ca91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#af61eb",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 273.913,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6423,
    "c": 0.20544,
    "h": 307.7
  },
  "luminance": 0.23662
}

Semantic roles & 50–950 ramp

primary
#AF61EB
secondary
#D1EBBD
accent
#DA0C65
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF61EB

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

Preview Lab → · Contrast checker → · Palette generator →

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