#AF63F9#AF63F9

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

Color values

HEX#AF63F9
RGBrgb(175, 99, 249)
HSLhsl(270, 93%, 68%)
HSVhsv(270, 60%, 98%)
CMYKcmyk(29.7%, 60.2%, 0%, 2.4%)
CIE-LABlab(56.96, 57.83, -63.52)
CIE-LCHlch(56.96, 85.90, 312.31°)
OKLaboklab(65.38% 0.123 -0.1798)
OKLCHoklch(65.38% 0.218 304.4)
XYZxyz(39.2361, 24.8774, 92.3389)
Luminance0.2488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63F9 #ADF963
analogous
#6463F9 #AF63F9 #F963F8
triadic
#AF63F9 #F9AF63 #63F9AF
tetradic
#AF63F9 #F96463 #ADF963 #63F8F9
square
#AF63F9 #F96463 #ADF963 #63F8F9
split-complementary
#AF63F9 #F8F963 #63F964
monochromatic
#7208D9 #9128F7 #AF63F9 #CD9EFB #EBD9FE

Accessibility & contrast

On white

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

On black

5.98
#AF63F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63F9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63F9#FFFFFF#000000##000000
##AF63F91.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0887FE
Deuteranopia (green-blind)
#3E89F6
Tritanopia (blue-blind)
#A282A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af63f9;
/* rgb */ color: rgb(175, 99, 249);
/* oklch */ color: oklch(65.4% 0.218 304.4);
Tailwind
colors: {
  custom: {
    50: '#cb93fc',
    500: '#af63f9',
    950: '#000000',
  },
}
SCSS
$custom: #af63f9;
$custom-light: #cb93fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af63f9",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 249
  },
  "hsl": {
    "h": 270.4,
    "s": 92.593,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65377,
    "c": 0.2178,
    "h": 304.4
  },
  "luminance": 0.24877
}

Semantic roles & 50–950 ramp

primary
#AF63F9
secondary
#DCF3C5
accent
#E60071
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AF63F9

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

Preview Lab → · Contrast checker → · Palette generator →

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