#AF63E4#AF63E4

#AF63E4 is a light, vivid violet. Relative luminance 0.236; OKLCH L 64.1% C 0.195 H 309.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AF63E4
RGBrgb(175, 99, 228)
HSLhsl(275, 70%, 64%)
HSVhsv(275, 57%, 89%)
CMYKcmyk(23.2%, 56.6%, 0%, 10.6%)
CIE-LABlab(55.73, 53.08, -53.78)
CIE-LCHlch(55.73, 75.56, 314.62°)
OKLaboklab(64.08% 0.123 -0.1512)
OKLCHoklch(64.08% 0.195 309.1)
XYZxyz(36.1419, 23.6397, 76.0427)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63E4 #98E463
analogous
#6F63E4 #AF63E4 #E463D9
triadic
#AF63E4 #E4AF63 #63E4AF
tetradic
#AF63E4 #E46F63 #98E463 #63D9E4
square
#AF63E4 #E46F63 #98E463 #63D9E4
split-complementary
#AF63E4 #D9E463 #63E46F
monochromatic
#731EAE #942FDB #AF63E4 #CA97ED #E5CBF6

Accessibility & contrast

On white

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

On black

5.73
#AF63E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63E4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63E4#FFFFFF#000000##000000
##AF63E41.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3782E8
Deuteranopia (green-blind)
#5487E1
Tritanopia (blue-blind)
#A87B9A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af63e4;
/* rgb */ color: rgb(175, 99, 228);
/* oklch */ color: oklch(64.1% 0.195 309.1);
Tailwind
colors: {
  custom: {
    50: '#ca92ed',
    500: '#af63e4',
    950: '#000000',
  },
}
SCSS
$custom: #af63e4;
$custom-light: #ca92ed;
$custom-dark: #000000;
JSON
{
  "hex": "#af63e4",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 228
  },
  "hsl": {
    "h": 275.349,
    "s": 70.492,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64084,
    "c": 0.19493,
    "h": 309.1
  },
  "luminance": 0.23639
}

Semantic roles & 50–950 ramp

primary
#AF63E4
secondary
#CDE8BB
accent
#D31362
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF63E4

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

Preview Lab → · Contrast checker → · Palette generator →

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