#AF63EC#AF63EC

#AF63EC is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.6% C 0.204 H 307.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AF63EC
RGBrgb(175, 99, 236)
HSLhsl(273, 78%, 66%)
HSVhsv(273, 58%, 93%)
CMYKcmyk(25.8%, 58.1%, 0%, 7.5%)
CIE-LABlab(56.18, 54.87, -57.53)
CIE-LCHlch(56.18, 79.50, 313.64°)
OKLaboklab(64.57% 0.1232 -0.1622)
OKLCHoklch(64.57% 0.204 307.2)
XYZxyz(37.2782, 24.0942, 82.0274)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63EC #A0EC63
analogous
#6A63EC #AF63EC #EC63E4
triadic
#AF63EC #ECAF63 #63ECAF
tetradic
#AF63EC #EC6A63 #A0EC63 #63E4EC
square
#AF63EC #EC6A63 #A0EC63 #63E4EC
split-complementary
#AF63EC #E4EC63 #63EC6A
monochromatic
#7317BE #932CE5 #AF63EC #CB9AF3 #E7D0F9

Accessibility & contrast

On white

3.61
#AF63EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#AF63EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63EC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63EC#FFFFFF#000000##000000
##AF63EC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C84F0
Deuteranopia (green-blind)
#4D87E9
Tritanopia (blue-blind)
#A57D9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af63ec;
/* rgb */ color: rgb(175, 99, 236);
/* oklch */ color: oklch(64.6% 0.204 307.2);
Tailwind
colors: {
  custom: {
    50: '#ca93f3',
    500: '#af63ec',
    950: '#000000',
  },
}
SCSS
$custom: #af63ec;
$custom-light: #ca93f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af63ec",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 236
  },
  "hsl": {
    "h": 273.285,
    "s": 78.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64565,
    "c": 0.20365,
    "h": 307.2
  },
  "luminance": 0.24094
}

Semantic roles & 50–950 ramp

primary
#AF63EC
secondary
#D3ECBF
accent
#DB0B67
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF63EC

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

Preview Lab → · Contrast checker → · Palette generator →

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