#AF60EB#AF60EB

#AF60EB is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.1% C 0.207 H 307.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AF60EB
RGBrgb(175, 96, 235)
HSLhsl(274, 78%, 65%)
HSVhsv(274, 59%, 92%)
CMYKcmyk(25.5%, 59.1%, 0%, 7.8%)
CIE-LABlab(55.56, 56.15, -57.97)
CIE-LCHlch(55.56, 80.70, 314.09°)
OKLaboklab(64.09% 0.1268 -0.1635)
OKLCHoklch(64.09% 0.207 307.8)
XYZxyz(36.8544, 23.4783, 81.1714)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60EB #9CEB60
analogous
#6A60EB #AF60EB #EB60E1
triadic
#AF60EB #EBAF60 #60EBAF
tetradic
#AF60EB #EB6A60 #9CEB60 #60E1EB
square
#AF60EB #EB6A60 #9CEB60 #60E1EB
split-complementary
#AF60EB #E1EB60 #60EB6A
monochromatic
#7317B9 #942AE4 #AF60EB #CA96F2 #E6CDF9

Accessibility & contrast

On white

3.69
#AF60EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#AF60EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60EB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60EB#FFFFFF#000000##000000
##AF60EB1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2582EF
Deuteranopia (green-blind)
#4A86E8
Tritanopia (blue-blind)
#A67B9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af60eb;
/* rgb */ color: rgb(175, 96, 235);
/* oklch */ color: oklch(64.1% 0.207 307.8);
Tailwind
colors: {
  custom: {
    50: '#ca91f2',
    500: '#af60eb',
    950: '#000000',
  },
}
SCSS
$custom: #af60eb;
$custom-light: #ca91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#af60eb",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 274.101,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64094,
    "c": 0.20687,
    "h": 307.8
  },
  "luminance": 0.23478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF60EB

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

Preview Lab → · Contrast checker → · Palette generator →

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