#AF63DF#AF63DF

#AF63DF is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.8% C 0.189 H 310.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AF63DF
RGBrgb(175, 99, 223)
HSLhsl(277, 66%, 63%)
HSVhsv(277, 56%, 87%)
CMYKcmyk(21.5%, 55.6%, 0%, 12.5%)
CIE-LABlab(55.45, 51.98, -51.41)
CIE-LCHlch(55.45, 73.11, 315.31°)
OKLaboklab(63.79% 0.1228 -0.1443)
OKLCHoklch(63.79% 0.189 310.4)
XYZxyz(35.4578, 23.3660, 72.4399)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63DF #93DF63
analogous
#7163DF #AF63DF #DF63D1
triadic
#AF63DF #DFAF63 #63DFAF
tetradic
#AF63DF #DF7163 #93DF63 #63D1DF
square
#AF63DF #DF7163 #93DF63 #63D1DF
split-complementary
#AF63DF #D1DF63 #63DF71
monochromatic
#7322A6 #9530D5 #AF63DF #C996E9 #E3C9F4

Accessibility & contrast

On white

3.70
#AF63DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#AF63DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63DF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63DF#FFFFFF#000000##000000
##AF63DF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C81E3
Deuteranopia (green-blind)
#5886DC
Tritanopia (blue-blind)
#A97998
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af63df;
/* rgb */ color: rgb(175, 99, 223);
/* oklch */ color: oklch(63.8% 0.189 310.4);
Tailwind
colors: {
  custom: {
    50: '#ca92e9',
    500: '#af63df',
    950: '#000000',
  },
}
SCSS
$custom: #af63df;
$custom-light: #ca92e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af63df",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 223
  },
  "hsl": {
    "h": 276.774,
    "s": 65.957,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63791,
    "c": 0.18949,
    "h": 310.4
  },
  "luminance": 0.23365
}

Semantic roles & 50–950 ramp

primary
#AF63DF
secondary
#CAE5B9
accent
#CE185E
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF63DF

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

Preview Lab → · Contrast checker → · Palette generator →

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