#AF63F2#AF63F2

#AF63F2 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.9% C 0.210 H 305.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AF63F2
RGBrgb(175, 99, 242)
HSLhsl(272, 85%, 67%)
HSVhsv(272, 59%, 95%)
CMYKcmyk(27.7%, 59.1%, 0%, 5.1%)
CIE-LABlab(56.53, 56.23, -60.31)
CIE-LCHlch(56.53, 82.45, 312.99°)
OKLaboklab(64.94% 0.1231 -0.1703)
OKLCHoklch(64.94% 0.21 305.9)
XYZxyz(38.1646, 24.4488, 86.6957)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF63F2 #A6F263
analogous
#6863F2 #AF63F2 #F263EE
triadic
#AF63F2 #F2AF63 #63F2AF
tetradic
#AF63F2 #F26863 #A6F263 #63EEF2
square
#AF63F2 #F26863 #A6F263 #63EEF2
split-complementary
#AF63F2 #EEF263 #63F268
monochromatic
#7311CA #922BED #AF63F2 #CC9BF7 #E9D4FB

Accessibility & contrast

On white

3.57
#AF63F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#AF63F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF63F2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF63F2#FFFFFF#000000##000000
##AF63F21.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2085F7
Deuteranopia (green-blind)
#4788EF
Tritanopia (blue-blind)
#A47FA1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af63f2;
/* rgb */ color: rgb(175, 99, 242);
/* oklch */ color: oklch(64.9% 0.210 305.9);
Tailwind
colors: {
  custom: {
    50: '#cb93f7',
    500: '#af63f2',
    950: '#000000',
  },
}
SCSS
$custom: #af63f2;
$custom-light: #cb93f7;
$custom-dark: #000000;
JSON
{
  "hex": "#af63f2",
  "rgb": {
    "r": 175,
    "g": 99,
    "b": 242
  },
  "hsl": {
    "h": 271.888,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64935,
    "c": 0.21018,
    "h": 305.9
  },
  "luminance": 0.24448
}

Semantic roles & 50–950 ramp

primary
#AF63F2
secondary
#D7EFC2
accent
#E1046C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF63F2

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

Preview Lab → · Contrast checker → · Palette generator →

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