#AF62FA#AF62FA

#AF62FA is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.3% C 0.220 H 304.3°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AF62FA
RGBrgb(175, 98, 250)
HSLhsl(270, 94%, 68%)
HSVhsv(270, 61%, 98%)
CMYKcmyk(30%, 60.8%, 0%, 2%)
CIE-LABlab(56.83, 58.56, -64.28)
CIE-LCHlch(56.83, 86.95, 312.33°)
OKLaboklab(65.31% 0.1241 -0.182)
OKLCHoklch(65.31% 0.22 304.3)
XYZxyz(39.2983, 24.7516, 93.1312)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62FA #ADFA62
analogous
#6362FA #AF62FA #FA62F9
triadic
#AF62FA #FAAF62 #62FAAF
tetradic
#AF62FA #FA6362 #ADFA62 #62F9FA
square
#AF62FA #FA6362 #ADFA62 #62F9FA
split-complementary
#AF62FA #F9FA62 #62FA63
monochromatic
#7207DB #9127F8 #AF62FA #CD9DFC #EBD9FE

Accessibility & contrast

On white

3.53
#AF62FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#AF62FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF62FA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF62FA#FFFFFF#000000##000000
##AF62FA1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#3C88F7
Tritanopia (blue-blind)
#A181A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af62fa;
/* rgb */ color: rgb(175, 98, 250);
/* oklch */ color: oklch(65.3% 0.220 304.3);
Tailwind
colors: {
  custom: {
    50: '#cb92fd',
    500: '#af62fa',
    950: '#000000',
  },
}
SCSS
$custom: #af62fa;
$custom-light: #cb92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af62fa",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 270.395,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65307,
    "c": 0.22026,
    "h": 304.3
  },
  "luminance": 0.24751
}

Semantic roles & 50–950 ramp

primary
#AF62FA
secondary
#DCF3C5
accent
#E60071
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AF62FA

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

Preview Lab → · Contrast checker → · Palette generator →

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