#AF61EE#AF61EE

#AF61EE is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.4% C 0.209 H 307.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AF61EE
RGBrgb(175, 97, 238)
HSLhsl(273, 81%, 66%)
HSVhsv(273, 59%, 93%)
CMYKcmyk(26.5%, 59.2%, 0%, 6.7%)
CIE-LABlab(55.92, 56.32, -59.06)
CIE-LCHlch(55.92, 81.61, 313.64°)
OKLaboklab(64.42% 0.1256 -0.1667)
OKLCHoklch(64.42% 0.209 307)
XYZxyz(37.3833, 23.8368, 83.5039)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF61EE #A0EE61
analogous
#6861EE #AF61EE #EE61E7
triadic
#AF61EE #EEAF61 #61EEAF
tetradic
#AF61EE #EE6861 #A0EE61 #61E7EE
square
#AF61EE #EE6861 #A0EE61 #61E7EE
split-complementary
#AF61EE #E7EE61 #61EE68
monochromatic
#7315C0 #932AE8 #AF61EE #CB98F4 #E7D0FA

Accessibility & contrast

On white

3.64
#AF61EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#AF61EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF61EE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF61EE#FFFFFF#000000##000000
##AF61EE1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2283F2
Deuteranopia (green-blind)
#4887EB
Tritanopia (blue-blind)
#A57D9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af61ee;
/* rgb */ color: rgb(175, 97, 238);
/* oklch */ color: oklch(64.4% 0.209 307.0);
Tailwind
colors: {
  custom: {
    50: '#cb91f4',
    500: '#af61ee',
    950: '#000000',
  },
}
SCSS
$custom: #af61ee;
$custom-light: #cb91f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af61ee",
  "rgb": {
    "r": 175,
    "g": 97,
    "b": 238
  },
  "hsl": {
    "h": 273.191,
    "s": 80.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64415,
    "c": 0.20867,
    "h": 307
  },
  "luminance": 0.23836
}

Semantic roles & 50–950 ramp

primary
#AF61EE
secondary
#D3EDBE
accent
#DD0967
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF61EE

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

Preview Lab → · Contrast checker → · Palette generator →

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