#AF63FA#AF63FA

#AF63FA is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.4% C 0.219 H 304.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AF63FA
RGBrgb(175, 99, 250)
HSLhsl(270, 94%, 68%)
HSVhsv(270, 60%, 98%)
CMYKcmyk(30%, 60.4%, 0%, 2%)
CIE-LABlab(57.02, 58.06, -63.98)
CIE-LCHlch(57.02, 86.40, 312.22°)
OKLaboklab(65.44% 0.1229 -0.1811)
OKLCHoklch(65.44% 0.219 304.2)
XYZxyz(39.3925, 24.9399, 93.1625)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63FA #AEFA63
analogous
#6363FA #AF63FA #FA63F9
triadic
#AF63FA #FAAF63 #63FAAF
tetradic
#AF63FA #FA6363 #AEFA63 #63F9FA
square
#AF63FA #FA6363 #AEFA63 #63F9FA
split-complementary
#AF63FA #F9FA63 #63FA63
monochromatic
#7207DC #9128F8 #AF63FA #CD9EFC #ECDAFE

Accessibility & contrast

On white

3.51
#AF63FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#AF63FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63FA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63FA#FFFFFF#000000##000000
##AF63FA1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0387FF
Deuteranopia (green-blind)
#3D89F7
Tritanopia (blue-blind)
#A182A6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af63fa;
/* rgb */ color: rgb(175, 99, 250);
/* oklch */ color: oklch(65.4% 0.219 304.2);
Tailwind
colors: {
  custom: {
    50: '#cb93fd',
    500: '#af63fa',
    950: '#000000',
  },
}
SCSS
$custom: #af63fa;
$custom-light: #cb93fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af63fa",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 250
  },
  "hsl": {
    "h": 270.199,
    "s": 93.789,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65441,
    "c": 0.21889,
    "h": 304.2
  },
  "luminance": 0.2494
}

Semantic roles & 50–950 ramp

primary
#AF63FA
secondary
#DCF3C6
accent
#E60072
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AF63FA

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

Preview Lab → · Contrast checker → · Palette generator →

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