#AF63DD#AF63DD

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

Color values

HEX#AF63DD
RGBrgb(175, 99, 221)
HSLhsl(277, 64%, 63%)
HSVhsv(277, 55%, 87%)
CMYKcmyk(20.8%, 55.2%, 0%, 13.3%)
CIE-LABlab(55.34, 51.54, -50.46)
CIE-LCHlch(55.34, 72.13, 315.61°)
OKLaboklab(63.68% 0.1228 -0.1415)
OKLCHoklch(63.68% 0.187 310.9)
XYZxyz(35.1898, 23.2588, 71.0282)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63DD #91DD63
analogous
#7263DD #AF63DD #DD63CE
triadic
#AF63DD #DDAF63 #63DDAF
tetradic
#AF63DD #DD7263 #91DD63 #63CEDD
square
#AF63DD #DD7263 #91DD63 #63CEDD
split-complementary
#AF63DD #CEDD63 #63DD72
monochromatic
#7223A2 #9531D2 #AF63DD #C995E8 #E3C7F3

Accessibility & contrast

On white

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

On black

5.65
#AF63DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63DD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63DD#FFFFFF#000000##000000
##AF63DD1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E81E1
Deuteranopia (green-blind)
#5986DA
Tritanopia (blue-blind)
#AA7897
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af63dd;
/* rgb */ color: rgb(175, 99, 221);
/* oklch */ color: oklch(63.7% 0.187 310.9);
Tailwind
colors: {
  custom: {
    50: '#ca92e8',
    500: '#af63dd',
    950: '#000000',
  },
}
SCSS
$custom: #af63dd;
$custom-light: #ca92e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af63dd",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 221
  },
  "hsl": {
    "h": 277.377,
    "s": 64.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63675,
    "c": 0.18732,
    "h": 310.9
  },
  "luminance": 0.23258
}

Semantic roles & 50–950 ramp

primary
#AF63DD
secondary
#C8E4B8
accent
#CC195D
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF63DD

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

Preview Lab → · Contrast checker → · Palette generator →

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