#AF63EA#AF63EA

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

Color values

HEX#AF63EA
RGBrgb(175, 99, 234)
HSLhsl(274, 76%, 65%)
HSVhsv(274, 58%, 92%)
CMYKcmyk(25.2%, 57.7%, 0%, 8.2%)
CIE-LABlab(56.07, 54.42, -56.60)
CIE-LCHlch(56.07, 78.51, 313.87°)
OKLaboklab(64.44% 0.1231 -0.1595)
OKLCHoklch(64.44% 0.201 307.7)
XYZxyz(36.9893, 23.9786, 80.5057)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63EA #9EEA63
analogous
#6C63EA #AF63EA #EA63E1
triadic
#AF63EA #EAAF63 #63EAAF
tetradic
#AF63EA #EA6C63 #9EEA63 #63E1EA
square
#AF63EA #EA6C63 #9EEA63 #63E1EA
split-complementary
#AF63EA #E1EA63 #63EA6C
monochromatic
#7319BA #932DE3 #AF63EA #CB99F1 #E6CFF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF63EA#FFFFFF#000000##000000
##AF63EA1.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)
#2F83EE
Deuteranopia (green-blind)
#4F87E7
Tritanopia (blue-blind)
#A67D9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af63ea;
/* rgb */ color: rgb(175, 99, 234);
/* oklch */ color: oklch(64.4% 0.201 307.7);
Tailwind
colors: {
  custom: {
    50: '#ca93f1',
    500: '#af63ea',
    950: '#000000',
  },
}
SCSS
$custom: #af63ea;
$custom-light: #ca93f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af63ea",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 234
  },
  "hsl": {
    "h": 273.778,
    "s": 76.271,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64443,
    "c": 0.20147,
    "h": 307.7
  },
  "luminance": 0.23978
}

Semantic roles & 50–950 ramp

primary
#AF63EA
secondary
#D2EBBE
accent
#D80D66
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF63EA

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

Preview Lab → · Contrast checker → · Palette generator →

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