#AF63EF#AF63EF

#AF63EF is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.7% C 0.207 H 306.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AF63EF
RGBrgb(175, 99, 239)
HSLhsl(273, 81%, 66%)
HSVhsv(273, 59%, 94%)
CMYKcmyk(26.8%, 58.6%, 0%, 6.3%)
CIE-LABlab(56.36, 55.54, -58.92)
CIE-LCHlch(56.36, 80.98, 313.31°)
OKLaboklab(64.75% 0.1232 -0.1663)
OKLCHoklch(64.75% 0.207 306.5)
XYZxyz(37.7177, 24.2700, 84.3422)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63EF #A3EF63
analogous
#6963EF #AF63EF #EF63E9
triadic
#AF63EF #EFAF63 #63EFAF
tetradic
#AF63EF #EF6963 #A3EF63 #63E9EF
square
#AF63EF #EF6963 #A3EF63 #63E9EF
split-complementary
#AF63EF #E9EF63 #63EF69
monochromatic
#7314C4 #932BE9 #AF63EF #CB9BF5 #E8D2FA

Accessibility & contrast

On white

3.59
#AF63EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#AF63EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63EF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63EF#FFFFFF#000000##000000
##AF63EF1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2685F3
Deuteranopia (green-blind)
#4A88EC
Tritanopia (blue-blind)
#A57EA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af63ef;
/* rgb */ color: rgb(175, 99, 239);
/* oklch */ color: oklch(64.7% 0.207 306.5);
Tailwind
colors: {
  custom: {
    50: '#cb93f5',
    500: '#af63ef',
    950: '#000000',
  },
}
SCSS
$custom: #af63ef;
$custom-light: #cb93f5;
$custom-dark: #000000;
JSON
{
  "hex": "#af63ef",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 239
  },
  "hsl": {
    "h": 272.571,
    "s": 81.395,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64749,
    "c": 0.20692,
    "h": 306.5
  },
  "luminance": 0.2427
}

Semantic roles & 50–950 ramp

primary
#AF63EF
secondary
#D5EEC0
accent
#DE086A
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF63EF

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

Preview Lab → · Contrast checker → · Palette generator →

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