#AF62EE#AF62EE

#AF62EE is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.6% C 0.207 H 306.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AF62EE
RGBrgb(175, 98, 238)
HSLhsl(273, 80%, 66%)
HSVhsv(273, 59%, 93%)
CMYKcmyk(26.5%, 58.8%, 0%, 6.7%)
CIE-LABlab(56.11, 55.82, -58.76)
CIE-LCHlch(56.11, 81.05, 313.53°)
OKLaboklab(64.55% 0.1244 -0.1658)
OKLCHoklch(64.55% 0.207 306.9)
XYZxyz(37.4763, 24.0228, 83.5349)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62EE #A1EE62
analogous
#6962EE #AF62EE #EE62E7
triadic
#AF62EE #EEAF62 #62EEAF
tetradic
#AF62EE #EE6962 #A1EE62 #62E7EE
square
#AF62EE #EE6962 #A1EE62 #62E7EE
split-complementary
#AF62EE #E7EE62 #62EE69
monochromatic
#7315C1 #932BE8 #AF62EE #CB99F4 #E7D0FA

Accessibility & contrast

On white

3.62
#AF62EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#AF62EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF62EE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF62EE#FFFFFF#000000##000000
##AF62EE1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2584F2
Deuteranopia (green-blind)
#4A87EB
Tritanopia (blue-blind)
#A57D9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af62ee;
/* rgb */ color: rgb(175, 98, 238);
/* oklch */ color: oklch(64.6% 0.207 306.9);
Tailwind
colors: {
  custom: {
    50: '#cb92f4',
    500: '#af62ee',
    950: '#000000',
  },
}
SCSS
$custom: #af62ee;
$custom-light: #cb92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af62ee",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 273,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64551,
    "c": 0.20726,
    "h": 306.9
  },
  "luminance": 0.24022
}

Semantic roles & 50–950 ramp

primary
#AF62EE
secondary
#D4EDBF
accent
#DD0968
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF62EE

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

Preview Lab → · Contrast checker → · Palette generator →

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