#AF63F1#AF63F1

#AF63F1 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.9% C 0.209 H 306.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF63F1
RGBrgb(175, 99, 241)
HSLhsl(272, 84%, 67%)
HSVhsv(272, 59%, 95%)
CMYKcmyk(27.4%, 58.9%, 0%, 5.5%)
CIE-LABlab(56.48, 56.00, -59.85)
CIE-LCHlch(56.48, 81.96, 313.10°)
OKLaboklab(64.87% 0.1231 -0.169)
OKLCHoklch(64.87% 0.209 306.1)
XYZxyz(38.0148, 24.3888, 85.9069)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63F1 #A5F163
analogous
#6863F1 #AF63F1 #F163EC
triadic
#AF63F1 #F1AF63 #63F1AF
tetradic
#AF63F1 #F16863 #A5F163 #63ECF1
square
#AF63F1 #F16863 #A5F163 #63ECF1
split-complementary
#AF63F1 #ECF163 #63F168
monochromatic
#7312C8 #922BEC #AF63F1 #CC9BF6 #E9D3FB

Accessibility & contrast

On white

3.57
#AF63F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#AF63F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63F1
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63F1#FFFFFF#000000##000000
##AF63F11.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2385F6
Deuteranopia (green-blind)
#4888EE
Tritanopia (blue-blind)
#A47FA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af63f1;
/* rgb */ color: rgb(175, 99, 241);
/* oklch */ color: oklch(64.9% 0.209 306.1);
Tailwind
colors: {
  custom: {
    50: '#cb93f6',
    500: '#af63f1',
    950: '#000000',
  },
}
SCSS
$custom: #af63f1;
$custom-light: #cb93f6;
$custom-dark: #000000;
JSON
{
  "hex": "#af63f1",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 241
  },
  "hsl": {
    "h": 272.113,
    "s": 83.529,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64873,
    "c": 0.20909,
    "h": 306.1
  },
  "luminance": 0.24389
}

Semantic roles & 50–950 ramp

primary
#AF63F1
secondary
#D6EFC1
accent
#E0066B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF63F1

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

Preview Lab → · Contrast checker → · Palette generator →

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