#AF63DB#AF63DB

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

Color values

HEX#AF63DB
RGBrgb(175, 99, 219)
HSLhsl(278, 63%, 62%)
HSVhsv(278, 55%, 86%)
CMYKcmyk(20.1%, 54.8%, 0%, 14.1%)
CIE-LABlab(55.23, 51.10, -49.50)
CIE-LCHlch(55.23, 71.15, 315.91°)
OKLaboklab(63.56% 0.1226 -0.1387)
OKLCHoklch(63.56% 0.185 311.5)
XYZxyz(34.9249, 23.1529, 69.6332)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63DB #8FDB63
analogous
#7363DB #AF63DB #DB63CB
triadic
#AF63DB #DBAF63 #63DBAF
tetradic
#AF63DB #DB7363 #8FDB63 #63CBDB
square
#AF63DB #DB7363 #8FDB63 #63CBDB
split-complementary
#AF63DB #CBDB63 #63DB73
monochromatic
#72259F #9631D0 #AF63DB #C995E6 #E2C6F2

Accessibility & contrast

On white

3.73
#AF63DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#AF63DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63DB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63DB#FFFFFF#000000##000000
##AF63DB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4080DF
Deuteranopia (green-blind)
#5A86D8
Tritanopia (blue-blind)
#AA7896
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af63db;
/* rgb */ color: rgb(175, 99, 219);
/* oklch */ color: oklch(63.6% 0.185 311.5);
Tailwind
colors: {
  custom: {
    50: '#ca92e7',
    500: '#af63db',
    950: '#000000',
  },
}
SCSS
$custom: #af63db;
$custom-light: #ca92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af63db",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 219
  },
  "hsl": {
    "h": 278,
    "s": 62.5,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6356,
    "c": 0.18515,
    "h": 311.5
  },
  "luminance": 0.23152
}

Semantic roles & 50–950 ramp

primary
#AF63DB
secondary
#C7E3B7
accent
#CA1B5B
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF63DB

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

Preview Lab → · Contrast checker → · Palette generator →

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