#AF63EB#AF63EB

#AF63EB is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.5% C 0.203 H 307.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AF63EB
RGBrgb(175, 99, 235)
HSLhsl(274, 77%, 65%)
HSVhsv(274, 58%, 92%)
CMYKcmyk(25.5%, 57.9%, 0%, 7.8%)
CIE-LABlab(56.12, 54.64, -57.06)
CIE-LCHlch(56.12, 79.01, 313.76°)
OKLaboklab(64.5% 0.1231 -0.1608)
OKLCHoklch(64.5% 0.203 307.4)
XYZxyz(37.1334, 24.0363, 81.2644)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63EB #9FEB63
analogous
#6B63EB #AF63EB #EB63E3
triadic
#AF63EB #EBAF63 #63EBAF
tetradic
#AF63EB #EB6B63 #9FEB63 #63E3EB
square
#AF63EB #EB6B63 #9FEB63 #63E3EB
split-complementary
#AF63EB #E3EB63 #63EB6B
monochromatic
#7318BC #932DE4 #AF63EB #CB99F2 #E7CFF9

Accessibility & contrast

On white

3.62
#AF63EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#AF63EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63EB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63EB#FFFFFF#000000##000000
##AF63EB1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84EF
Deuteranopia (green-blind)
#4E87E8
Tritanopia (blue-blind)
#A67D9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af63eb;
/* rgb */ color: rgb(175, 99, 235);
/* oklch */ color: oklch(64.5% 0.203 307.4);
Tailwind
colors: {
  custom: {
    50: '#ca93f2',
    500: '#af63eb',
    950: '#000000',
  },
}
SCSS
$custom: #af63eb;
$custom-light: #ca93f2;
$custom-dark: #000000;
JSON
{
  "hex": "#af63eb",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 235
  },
  "hsl": {
    "h": 273.529,
    "s": 77.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64504,
    "c": 0.20256,
    "h": 307.4
  },
  "luminance": 0.24036
}

Semantic roles & 50–950 ramp

primary
#AF63EB
secondary
#D2ECBE
accent
#DA0C67
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF63EB

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

Preview Lab → · Contrast checker → · Palette generator →

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