#AF63E7#AF63E7

#AF63E7 is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.3% C 0.198 H 308.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AF63E7
RGBrgb(175, 99, 231)
HSLhsl(275, 73%, 65%)
HSVhsv(275, 57%, 91%)
CMYKcmyk(24.2%, 57.1%, 0%, 9.4%)
CIE-LABlab(55.89, 53.75, -55.19)
CIE-LCHlch(55.89, 77.04, 314.24°)
OKLaboklab(64.26% 0.1231 -0.1553)
OKLCHoklch(64.26% 0.198 308.4)
XYZxyz(36.5620, 23.8077, 78.2551)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63E7 #9BE763
analogous
#6D63E7 #AF63E7 #E763DD
triadic
#AF63E7 #E7AF63 #63E7AF
tetradic
#AF63E7 #E76D63 #9BE763 #63DDE7
square
#AF63E7 #E76D63 #9BE763 #63DDE7
split-complementary
#AF63E7 #DDE763 #63E76D
monochromatic
#731CB4 #942EDF #AF63E7 #CA98EF #E5CDF7

Accessibility & contrast

On white

3.64
#AF63E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#AF63E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63E7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63E7#FFFFFF#000000##000000
##AF63E71.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3383EB
Deuteranopia (green-blind)
#5187E4
Tritanopia (blue-blind)
#A77C9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af63e7;
/* rgb */ color: rgb(175, 99, 231);
/* oklch */ color: oklch(64.3% 0.198 308.4);
Tailwind
colors: {
  custom: {
    50: '#ca92ef',
    500: '#af63e7',
    950: '#000000',
  },
}
SCSS
$custom: #af63e7;
$custom-light: #ca92ef;
$custom-dark: #000000;
JSON
{
  "hex": "#af63e7",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 231
  },
  "hsl": {
    "h": 274.545,
    "s": 73.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64263,
    "c": 0.1982,
    "h": 308.4
  },
  "luminance": 0.23807
}

Semantic roles & 50–950 ramp

primary
#AF63E7
secondary
#CFEABC
accent
#D51064
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF63E7

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

Preview Lab → · Contrast checker → · Palette generator →

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