#AF63FF#AF63FF

#AF63FF is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.8% C 0.224 H 303.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AF63FF
RGBrgb(175, 99, 255)
HSLhsl(269, 100%, 69%)
HSVhsv(269, 61%, 100%)
CMYKcmyk(31.4%, 61.2%, 0%, 0%)
CIE-LABlab(57.33, 59.22, -66.25)
CIE-LCHlch(57.33, 88.86, 311.79°)
OKLaboklab(65.76% 0.1227 -0.1878)
OKLCHoklch(65.76% 0.224 303.2)
XYZxyz(40.1869, 25.2577, 97.3464)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63FF #B3FF63
analogous
#6365FF #AF63FF #FD63FF
triadic
#AF63FF #FFAF63 #63FFAF
tetradic
#AF63FF #FF6365 #B3FF63 #63FFFD
square
#AF63FF #FF6365 #B3FF63 #63FFFD
split-complementary
#AF63FF #FFFD63 #65FF63
monochromatic
#7100E8 #9026FF #AF63FF #CEA0FF #EEDDFF

Accessibility & contrast

On white

3.47
#AF63FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#AF63FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63FF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63FF#FFFFFF#000000##000000
##AF63FF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#3689FC
Tritanopia (blue-blind)
#A084A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af63ff;
/* rgb */ color: rgb(175, 99, 255);
/* oklch */ color: oklch(65.8% 0.224 303.2);
Tailwind
colors: {
  custom: {
    50: '#cc93ff',
    500: '#af63ff',
    950: '#000000',
  },
}
SCSS
$custom: #af63ff;
$custom-light: #cc93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af63ff",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 255
  },
  "hsl": {
    "h": 269.231,
    "s": 100,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65764,
    "c": 0.22432,
    "h": 303.2
  },
  "luminance": 0.25258
}

Semantic roles & 50–950 ramp

primary
#AF63FF
secondary
#DFF5C8
accent
#E60076
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #AF63FF

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

Preview Lab → · Contrast checker → · Palette generator →

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