#AF64ED#AF64ED

#AF64ED is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.8% C 0.203 H 306.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AF64ED
RGBrgb(175, 100, 237)
HSLhsl(273, 79%, 66%)
HSVhsv(273, 58%, 93%)
CMYKcmyk(26.2%, 57.8%, 0%, 7.1%)
CIE-LABlab(56.43, 54.59, -57.69)
CIE-LCHlch(56.43, 79.42, 313.41°)
OKLaboklab(64.77% 0.1219 -0.1627)
OKLCHoklch(64.77% 0.203 306.9)
XYZxyz(37.5192, 24.3431, 82.8265)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF64ED #A2ED64
analogous
#6A64ED #AF64ED #ED64E6
triadic
#AF64ED #EDAF64 #64EDAF
tetradic
#AF64ED #ED6A64 #A2ED64 #64E6ED
square
#AF64ED #ED6A64 #A2ED64 #64E6ED
split-complementary
#AF64ED #E6ED64 #64ED6A
monochromatic
#7316C0 #932DE7 #AF64ED #CB9BF3 #E8D2FA

Accessibility & contrast

On white

3.58
#AF64ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#AF64ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF64ED
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF64ED#FFFFFF#000000##000000
##AF64ED1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D85F1
Deuteranopia (green-blind)
#4D88EA
Tritanopia (blue-blind)
#A57E9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af64ed;
/* rgb */ color: rgb(175, 100, 237);
/* oklch */ color: oklch(64.8% 0.203 306.9);
Tailwind
colors: {
  custom: {
    50: '#ca93f3',
    500: '#af64ed',
    950: '#000000',
  },
}
SCSS
$custom: #af64ed;
$custom-light: #ca93f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af64ed",
  "rgb": {
    "r": 175,
    "g": 100,
    "b": 237
  },
  "hsl": {
    "h": 272.847,
    "s": 79.191,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64765,
    "c": 0.20329,
    "h": 306.9
  },
  "luminance": 0.24343
}

Semantic roles & 50–950 ramp

primary
#AF64ED
secondary
#D4EDC0
accent
#DB0A69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF64ED

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

Preview Lab → · Contrast checker → · Palette generator →

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