#AF63E1#AF63E1

#AF63E1 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.9% C 0.192 H 309.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AF63E1
RGBrgb(175, 99, 225)
HSLhsl(276, 68%, 64%)
HSVhsv(276, 56%, 88%)
CMYKcmyk(22.2%, 56%, 0%, 11.8%)
CIE-LABlab(55.56, 52.42, -52.36)
CIE-LCHlch(55.56, 74.09, 315.03°)
OKLaboklab(63.91% 0.1229 -0.1471)
OKLCHoklch(63.91% 0.192 309.9)
XYZxyz(35.7291, 23.4745, 73.8684)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63E1 #95E163
analogous
#7063E1 #AF63E1 #E163D4
triadic
#AF63E1 #E1AF63 #63E1AF
tetradic
#AF63E1 #E17063 #95E163 #63D4E1
square
#AF63E1 #E17063 #95E163 #63D4E1
split-complementary
#AF63E1 #D4E163 #63E170
monochromatic
#7321A9 #9530D7 #AF63E1 #C996EB #E4CAF5

Accessibility & contrast

On white

3.69
#AF63E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#AF63E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63E1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63E1#FFFFFF#000000##000000
##AF63E11.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A82E5
Deuteranopia (green-blind)
#5686DE
Tritanopia (blue-blind)
#A87A99
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af63e1;
/* rgb */ color: rgb(175, 99, 225);
/* oklch */ color: oklch(63.9% 0.192 309.9);
Tailwind
colors: {
  custom: {
    50: '#ca92eb',
    500: '#af63e1',
    950: '#000000',
  },
}
SCSS
$custom: #af63e1;
$custom-light: #ca92eb;
$custom-dark: #000000;
JSON
{
  "hex": "#af63e1",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 225
  },
  "hsl": {
    "h": 276.19,
    "s": 67.742,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63907,
    "c": 0.19167,
    "h": 309.9
  },
  "luminance": 0.23474
}

Semantic roles & 50–950 ramp

primary
#AF63E1
secondary
#CBE6BA
accent
#D01660
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF63E1

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

Preview Lab → · Contrast checker → · Palette generator →

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