#AF63F5#AF63F5

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

Color values

HEX#AF63F5
RGBrgb(175, 99, 245)
HSLhsl(271, 88%, 67%)
HSVhsv(271, 60%, 96%)
CMYKcmyk(28.6%, 59.6%, 0%, 3.9%)
CIE-LABlab(56.71, 56.91, -61.69)
CIE-LCHlch(56.71, 83.93, 312.69°)
OKLaboklab(65.12% 0.1231 -0.1744)
OKLCHoklch(65.12% 0.213 305.2)
XYZxyz(38.6189, 24.6305, 89.0881)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63F5 #A9F563
analogous
#6663F5 #AF63F5 #F563F2
triadic
#AF63F5 #F5AF63 #63F5AF
tetradic
#AF63F5 #F56663 #A9F563 #63F2F5
square
#AF63F5 #F56663 #A9F563 #63F2F5
split-complementary
#AF63F5 #F2F563 #63F566
monochromatic
#730DD0 #9229F1 #AF63F5 #CC9DF9 #EAD6FC

Accessibility & contrast

On white

3.54
#AF63F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#AF63F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63F5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63F5#FFFFFF#000000##000000
##AF63F51.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1986FA
Deuteranopia (green-blind)
#4388F2
Tritanopia (blue-blind)
#A380A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af63f5;
/* rgb */ color: rgb(175, 99, 245);
/* oklch */ color: oklch(65.1% 0.213 305.2);
Tailwind
colors: {
  custom: {
    50: '#cb93f9',
    500: '#af63f5',
    950: '#000000',
  },
}
SCSS
$custom: #af63f5;
$custom-light: #cb93f9;
$custom-dark: #000000;
JSON
{
  "hex": "#af63f5",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 245
  },
  "hsl": {
    "h": 271.233,
    "s": 87.952,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65123,
    "c": 0.21345,
    "h": 305.2
  },
  "luminance": 0.2463
}

Semantic roles & 50–950 ramp

primary
#AF63F5
secondary
#D9F1C3
accent
#E5016E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF63F5

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

Preview Lab → · Contrast checker → · Palette generator →

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