#AF63DE#AF63DE

#AF63DE is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.7% C 0.188 H 310.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF63DE
RGBrgb(175, 99, 222)
HSLhsl(277, 65%, 63%)
HSVhsv(277, 55%, 87%)
CMYKcmyk(21.2%, 55.4%, 0%, 12.9%)
CIE-LABlab(55.39, 51.76, -50.94)
CIE-LCHlch(55.39, 72.62, 315.46°)
OKLaboklab(63.73% 0.1228 -0.1429)
OKLCHoklch(63.73% 0.188 310.7)
XYZxyz(35.3234, 23.3123, 71.7320)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63DE #92DE63
analogous
#7163DE #AF63DE #DE63CF
triadic
#AF63DE #DEAF63 #63DEAF
tetradic
#AF63DE #DE7163 #92DE63 #63CFDE
square
#AF63DE #DE7163 #92DE63 #63CFDE
split-complementary
#AF63DE #CFDE63 #63DE71
monochromatic
#7323A4 #9530D3 #AF63DE #C996E9 #E3C8F3

Accessibility & contrast

On white

3.71
#AF63DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#AF63DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63DE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63DE#FFFFFF#000000##000000
##AF63DE1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D81E2
Deuteranopia (green-blind)
#5886DB
Tritanopia (blue-blind)
#A97997
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af63de;
/* rgb */ color: rgb(175, 99, 222);
/* oklch */ color: oklch(63.7% 0.188 310.7);
Tailwind
colors: {
  custom: {
    50: '#ca92e9',
    500: '#af63de',
    950: '#000000',
  },
}
SCSS
$custom: #af63de;
$custom-light: #ca92e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af63de",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 222
  },
  "hsl": {
    "h": 277.073,
    "s": 65.079,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63733,
    "c": 0.18841,
    "h": 310.7
  },
  "luminance": 0.23312
}

Semantic roles & 50–950 ramp

primary
#AF63DE
secondary
#C9E5B8
accent
#CD195D
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF63DE

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

Preview Lab → · Contrast checker → · Palette generator →

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