#AF60EA#AF60EA

#AF60EA is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.0% C 0.206 H 308.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AF60EA
RGBrgb(175, 96, 234)
HSLhsl(274, 77%, 65%)
HSVhsv(274, 59%, 92%)
CMYKcmyk(25.2%, 59%, 0%, 8.2%)
CIE-LABlab(55.50, 55.92, -57.50)
CIE-LCHlch(55.50, 80.21, 314.20°)
OKLaboklab(64.03% 0.1268 -0.1621)
OKLCHoklch(64.03% 0.206 308)
XYZxyz(36.7103, 23.4207, 80.4127)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60EA #9BEA60
analogous
#6A60EA #AF60EA #EA60E0
triadic
#AF60EA #EAAF60 #60EAAF
tetradic
#AF60EA #EA6A60 #9BEA60 #60E0EA
square
#AF60EA #EA6A60 #9BEA60 #60E0EA
split-complementary
#AF60EA #E0EA60 #60EA6A
monochromatic
#7318B7 #942AE3 #AF60EA #CA96F1 #E5CCF8

Accessibility & contrast

On white

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

On black

5.68
#AF60EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60EA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60EA#FFFFFF#000000##000000
##AF60EA1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EE
Deuteranopia (green-blind)
#4B86E7
Tritanopia (blue-blind)
#A67B9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af60ea;
/* rgb */ color: rgb(175, 96, 234);
/* oklch */ color: oklch(64.0% 0.206 308.0);
Tailwind
colors: {
  custom: {
    50: '#ca91f1',
    500: '#af60ea',
    950: '#000000',
  },
}
SCSS
$custom: #af60ea;
$custom-light: #ca91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af60ea",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 234
  },
  "hsl": {
    "h": 274.348,
    "s": 76.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64032,
    "c": 0.20579,
    "h": 308
  },
  "luminance": 0.2342
}

Semantic roles & 50–950 ramp

primary
#AF60EA
secondary
#CFEBBB
accent
#D90D64
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF60EA

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

Preview Lab → · Contrast checker → · Palette generator →

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