#AF63F4#AF63F4

#AF63F4 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.1% C 0.212 H 305.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AF63F4
RGBrgb(175, 99, 244)
HSLhsl(271, 87%, 67%)
HSVhsv(271, 59%, 96%)
CMYKcmyk(28.3%, 59.4%, 0%, 4.3%)
CIE-LABlab(56.65, 56.68, -61.23)
CIE-LCHlch(56.65, 83.44, 312.79°)
OKLaboklab(65.06% 0.1231 -0.173)
OKLCHoklch(65.06% 0.212 305.4)
XYZxyz(38.4666, 24.5696, 88.2863)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63F4 #A8F463
analogous
#6763F4 #AF63F4 #F463F1
triadic
#AF63F4 #F4AF63 #63F4AF
tetradic
#AF63F4 #F46763 #A8F463 #63F1F4
square
#AF63F4 #F46763 #A8F463 #63F1F4
split-complementary
#AF63F4 #F1F463 #63F467
monochromatic
#730FCE #922AF0 #AF63F4 #CC9CF8 #EAD5FC

Accessibility & contrast

On white

3.55
#AF63F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#AF63F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63F4
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63F4#FFFFFF#000000##000000
##AF63F41.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B86F9
Deuteranopia (green-blind)
#4488F1
Tritanopia (blue-blind)
#A380A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af63f4;
/* rgb */ color: rgb(175, 99, 244);
/* oklch */ color: oklch(65.1% 0.212 305.4);
Tailwind
colors: {
  custom: {
    50: '#cb93f8',
    500: '#af63f4',
    950: '#000000',
  },
}
SCSS
$custom: #af63f4;
$custom-light: #cb93f8;
$custom-dark: #000000;
JSON
{
  "hex": "#af63f4",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 244
  },
  "hsl": {
    "h": 271.448,
    "s": 86.826,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6506,
    "c": 0.21236,
    "h": 305.4
  },
  "luminance": 0.24569
}

Semantic roles & 50–950 ramp

primary
#AF63F4
secondary
#D8F0C3
accent
#E3026D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF63F4

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

Preview Lab → · Contrast checker → · Palette generator →

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