#AF63E8#AF63E8

#AF63E8 is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.3% C 0.199 H 308.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AF63E8
RGBrgb(175, 99, 232)
HSLhsl(274, 74%, 65%)
HSVhsv(274, 57%, 91%)
CMYKcmyk(24.6%, 57.3%, 0%, 9%)
CIE-LABlab(55.95, 53.97, -55.66)
CIE-LCHlch(55.95, 77.53, 314.12°)
OKLaboklab(64.32% 0.1231 -0.1567)
OKLCHoklch(64.32% 0.199 308.2)
XYZxyz(36.7036, 23.8643, 79.0010)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63E8 #9CE863
analogous
#6D63E8 #AF63E8 #E863DE
triadic
#AF63E8 #E8AF63 #63E8AF
tetradic
#AF63E8 #E86D63 #9CE863 #63DEE8
square
#AF63E8 #E86D63 #9CE863 #63DEE8
split-complementary
#AF63E8 #DEE863 #63E86D
monochromatic
#731BB6 #942EE0 #AF63E8 #CA98F0 #E6CEF8

Accessibility & contrast

On white

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

On black

5.77
#AF63E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63E8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63E8#FFFFFF#000000##000000
##AF63E81.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3183EC
Deuteranopia (green-blind)
#5087E5
Tritanopia (blue-blind)
#A77C9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af63e8;
/* rgb */ color: rgb(175, 99, 232);
/* oklch */ color: oklch(64.3% 0.199 308.2);
Tailwind
colors: {
  custom: {
    50: '#ca92f0',
    500: '#af63e8',
    950: '#000000',
  },
}
SCSS
$custom: #af63e8;
$custom-light: #ca92f0;
$custom-dark: #000000;
JSON
{
  "hex": "#af63e8",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 232
  },
  "hsl": {
    "h": 274.286,
    "s": 74.302,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64323,
    "c": 0.19929,
    "h": 308.2
  },
  "luminance": 0.23864
}

Semantic roles & 50–950 ramp

primary
#AF63E8
secondary
#D0EABD
accent
#D60F65
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF63E8

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

Preview Lab → · Contrast checker → · Palette generator →

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