#AF63FC#AF63FC

#AF63FC is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.6% C 0.221 H 303.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AF63FC
RGBrgb(175, 99, 252)
HSLhsl(270, 96%, 69%)
HSVhsv(270, 61%, 99%)
CMYKcmyk(30.6%, 60.7%, 0%, 1.2%)
CIE-LABlab(57.14, 58.52, -64.89)
CIE-LCHlch(57.14, 87.38, 312.05°)
OKLaboklab(65.57% 0.1229 -0.1838)
OKLCHoklch(65.57% 0.221 303.8)
XYZxyz(39.7078, 25.0660, 94.8229)
Luminance0.2507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63FC #B0FC63
analogous
#6364FC #AF63FC #FB63FC
triadic
#AF63FC #FCAF63 #63FCAF
tetradic
#AF63FC #FC6364 #B0FC63 #63FCFB
square
#AF63FC #FC6364 #B0FC63 #63FCFB
split-complementary
#AF63FC #FCFB63 #64FC63
monochromatic
#7204E0 #9027FB #AF63FC #CE9FFD #EDDBFE

Accessibility & contrast

On white

3.49
#AF63FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#AF63FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63FC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63FC#FFFFFF#000000##000000
##AF63FC1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#3A89F9
Tritanopia (blue-blind)
#A183A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af63fc;
/* rgb */ color: rgb(175, 99, 252);
/* oklch */ color: oklch(65.6% 0.221 303.8);
Tailwind
colors: {
  custom: {
    50: '#cb93fe',
    500: '#af63fc',
    950: '#000000',
  },
}
SCSS
$custom: #af63fc;
$custom-light: #cb93fe;
$custom-dark: #000000;
JSON
{
  "hex": "#af63fc",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 252
  },
  "hsl": {
    "h": 269.804,
    "s": 96.226,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65569,
    "c": 0.22106,
    "h": 303.8
  },
  "luminance": 0.25066
}

Semantic roles & 50–950 ramp

primary
#AF63FC
secondary
#DEF4C7
accent
#E60073
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AF63FC

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

Preview Lab → · Contrast checker → · Palette generator →

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