#AF63ED#AF63ED

#AF63ED is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.6% C 0.205 H 307.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AF63ED
RGBrgb(175, 99, 237)
HSLhsl(273, 79%, 66%)
HSVhsv(273, 58%, 93%)
CMYKcmyk(26.2%, 58.2%, 0%, 7.1%)
CIE-LABlab(56.24, 55.09, -58.00)
CIE-LCHlch(56.24, 79.99, 313.53°)
OKLaboklab(64.63% 0.1232 -0.1636)
OKLCHoklch(64.63% 0.205 307)
XYZxyz(37.4239, 24.1525, 82.7947)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63ED #A1ED63
analogous
#6A63ED #AF63ED #ED63E6
triadic
#AF63ED #EDAF63 #63EDAF
tetradic
#AF63ED #ED6A63 #A1ED63 #63E6ED
square
#AF63ED #ED6A63 #A1ED63 #63E6ED
split-complementary
#AF63ED #E6ED63 #63ED6A
monochromatic
#7316C0 #932CE7 #AF63ED #CB9AF3 #E7D1FA

Accessibility & contrast

On white

3.60
#AF63ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#AF63ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63ED
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63ED#FFFFFF#000000##000000
##AF63ED1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A84F1
Deuteranopia (green-blind)
#4C87EA
Tritanopia (blue-blind)
#A57E9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af63ed;
/* rgb */ color: rgb(175, 99, 237);
/* oklch */ color: oklch(64.6% 0.205 307.0);
Tailwind
colors: {
  custom: {
    50: '#ca93f3',
    500: '#af63ed',
    950: '#000000',
  },
}
SCSS
$custom: #af63ed;
$custom-light: #ca93f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af63ed",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 237
  },
  "hsl": {
    "h": 273.043,
    "s": 79.31,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64626,
    "c": 0.20474,
    "h": 307
  },
  "luminance": 0.24152
}

Semantic roles & 50–950 ramp

primary
#AF63ED
secondary
#D4EDBF
accent
#DC0A68
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF63ED

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

Preview Lab → · Contrast checker → · Palette generator →

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