#AF63DA#AF63DA

#AF63DA is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.5% C 0.184 H 311.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AF63DA
RGBrgb(175, 99, 218)
HSLhsl(278, 62%, 62%)
HSVhsv(278, 55%, 85%)
CMYKcmyk(19.7%, 54.6%, 0%, 14.5%)
CIE-LABlab(55.18, 50.89, -49.02)
CIE-LCHlch(55.18, 70.66, 316.07°)
OKLaboklab(63.5% 0.1226 -0.1373)
OKLCHoklch(63.5% 0.184 311.8)
XYZxyz(34.7937, 23.1004, 68.9420)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63DA #8EDA63
analogous
#7363DA #AF63DA #DA63CA
triadic
#AF63DA #DAAF63 #63DAAF
tetradic
#AF63DA #DA7363 #8EDA63 #63CADA
square
#AF63DA #DA7363 #8EDA63 #63CADA
split-complementary
#AF63DA #CADA63 #63DA73
monochromatic
#72259D #9632CE #AF63DA #C894E6 #E2C6F1

Accessibility & contrast

On white

3.74
#AF63DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#AF63DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63DA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63DA#FFFFFF#000000##000000
##AF63DA1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4180DE
Deuteranopia (green-blind)
#5B86D7
Tritanopia (blue-blind)
#AA7795
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af63da;
/* rgb */ color: rgb(175, 99, 218);
/* oklch */ color: oklch(63.5% 0.184 311.8);
Tailwind
colors: {
  custom: {
    50: '#ca92e6',
    500: '#af63da',
    950: '#000000',
  },
}
SCSS
$custom: #af63da;
$custom-light: #ca92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af63da",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 218
  },
  "hsl": {
    "h": 278.319,
    "s": 61.658,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63503,
    "c": 0.18406,
    "h": 311.8
  },
  "luminance": 0.231
}

Semantic roles & 50–950 ramp

primary
#AF63DA
secondary
#C6E2B7
accent
#C91C5B
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF63DA

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

Preview Lab → · Contrast checker → · Palette generator →

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