#AF60ED#AF60ED

#AF60ED is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.2% C 0.209 H 307.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AF60ED
RGBrgb(175, 96, 237)
HSLhsl(274, 80%, 65%)
HSVhsv(274, 59%, 93%)
CMYKcmyk(26.2%, 59.5%, 0%, 7.1%)
CIE-LABlab(55.68, 56.60, -58.89)
CIE-LCHlch(55.68, 81.68, 313.86°)
OKLaboklab(64.22% 0.1268 -0.1662)
OKLCHoklch(64.22% 0.209 307.3)
XYZxyz(37.1450, 23.5946, 82.7017)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF60ED #9EED60
analogous
#6860ED #AF60ED #ED60E4
triadic
#AF60ED #EDAF60 #60EDAF
tetradic
#AF60ED #ED6860 #9EED60 #60E4ED
square
#AF60ED #ED6860 #9EED60 #60E4ED
split-complementary
#AF60ED #E4ED60 #60ED68
monochromatic
#7315BD #9329E7 #AF60ED #CB97F3 #E6CEF9

Accessibility & contrast

On white

3.67
#AF60ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#AF60ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF60ED
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF60ED#FFFFFF#000000##000000
##AF60ED1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2182F1
Deuteranopia (green-blind)
#4886EA
Tritanopia (blue-blind)
#A57C9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af60ed;
/* rgb */ color: rgb(175, 96, 237);
/* oklch */ color: oklch(64.2% 0.209 307.3);
Tailwind
colors: {
  custom: {
    50: '#cb91f3',
    500: '#af60ed',
    950: '#000000',
  },
}
SCSS
$custom: #af60ed;
$custom-light: #cb91f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af60ed",
  "rgb": {
    "r": 175,
    "g": 96,
    "b": 237
  },
  "hsl": {
    "h": 273.617,
    "s": 79.661,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64218,
    "c": 0.20901,
    "h": 307.3
  },
  "luminance": 0.23594
}

Semantic roles & 50–950 ramp

primary
#AF60ED
secondary
#D2ECBD
accent
#DC0A66
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF60ED

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

Preview Lab → · Contrast checker → · Palette generator →

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