#AF63DC#AF63DC

#AF63DC is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.6% C 0.186 H 311.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AF63DC
RGBrgb(175, 99, 220)
HSLhsl(278, 63%, 63%)
HSVhsv(278, 55%, 86%)
CMYKcmyk(20.5%, 55%, 0%, 13.7%)
CIE-LABlab(55.28, 51.32, -49.98)
CIE-LCHlch(55.28, 71.64, 315.76°)
OKLaboklab(63.62% 0.1227 -0.1401)
OKLCHoklch(63.62% 0.186 311.2)
XYZxyz(35.0570, 23.2057, 70.3287)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63DC #90DC63
analogous
#7263DC #AF63DC #DC63CD
triadic
#AF63DC #DCAF63 #63DCAF
tetradic
#AF63DC #DC7263 #90DC63 #63CDDC
square
#AF63DC #DC7263 #90DC63 #63CDDC
split-complementary
#AF63DC #CDDC63 #63DC72
monochromatic
#7224A1 #9531D1 #AF63DC #C995E7 #E2C7F2

Accessibility & contrast

On white

3.72
#AF63DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#AF63DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63DC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63DC#FFFFFF#000000##000000
##AF63DC1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F81E0
Deuteranopia (green-blind)
#5A86D9
Tritanopia (blue-blind)
#AA7896
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af63dc;
/* rgb */ color: rgb(175, 99, 220);
/* oklch */ color: oklch(63.6% 0.186 311.2);
Tailwind
colors: {
  custom: {
    50: '#ca92e7',
    500: '#af63dc',
    950: '#000000',
  },
}
SCSS
$custom: #af63dc;
$custom-light: #ca92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af63dc",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 220
  },
  "hsl": {
    "h": 277.686,
    "s": 63.351,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63617,
    "c": 0.18624,
    "h": 311.2
  },
  "luminance": 0.23205
}

Semantic roles & 50–950 ramp

primary
#AF63DC
secondary
#C8E3B7
accent
#CB1A5C
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF63DC

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

Preview Lab → · Contrast checker → · Palette generator →

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