#AF63E9#AF63E9

#AF63E9 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.4% C 0.200 H 307.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AF63E9
RGBrgb(175, 99, 233)
HSLhsl(274, 75%, 65%)
HSVhsv(274, 58%, 91%)
CMYKcmyk(24.9%, 57.5%, 0%, 8.6%)
CIE-LABlab(56.01, 54.19, -56.13)
CIE-LCHlch(56.01, 78.02, 313.99°)
OKLaboklab(64.38% 0.1231 -0.1581)
OKLCHoklch(64.38% 0.2 307.9)
XYZxyz(36.8460, 23.9213, 79.7512)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63E9 #9DE963
analogous
#6C63E9 #AF63E9 #E963E0
triadic
#AF63E9 #E9AF63 #63E9AF
tetradic
#AF63E9 #E96C63 #9DE963 #63E0E9
square
#AF63E9 #E96C63 #9DE963 #63E0E9
split-complementary
#AF63E9 #E0E963 #63E96C
monochromatic
#731AB8 #932DE1 #AF63E9 #CB99F1 #E6CEF8

Accessibility & contrast

On white

3.63
#AF63E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#AF63E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63E9
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63E9#FFFFFF#000000##000000
##AF63E91.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3083ED
Deuteranopia (green-blind)
#4F87E6
Tritanopia (blue-blind)
#A67C9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af63e9;
/* rgb */ color: rgb(175, 99, 233);
/* oklch */ color: oklch(64.4% 0.200 307.9);
Tailwind
colors: {
  custom: {
    50: '#ca93f1',
    500: '#af63e9',
    950: '#000000',
  },
}
SCSS
$custom: #af63e9;
$custom-light: #ca93f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af63e9",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 233
  },
  "hsl": {
    "h": 274.03,
    "s": 75.281,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64383,
    "c": 0.20038,
    "h": 307.9
  },
  "luminance": 0.23921
}

Semantic roles & 50–950 ramp

primary
#AF63E9
secondary
#D1EBBD
accent
#D70E65
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF63E9

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

Preview Lab → · Contrast checker → · Palette generator →

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