#AF62F4#AF62F4

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

Color values

HEX#AF62F4
RGBrgb(175, 98, 244)
HSLhsl(272, 87%, 67%)
HSVhsv(272, 60%, 96%)
CMYKcmyk(28.3%, 59.8%, 0%, 4.3%)
CIE-LABlab(56.47, 57.18, -61.53)
CIE-LCHlch(56.47, 84.00, 312.90°)
OKLaboklab(64.93% 0.1243 -0.1739)
OKLCHoklch(64.93% 0.214 305.5)
XYZxyz(38.3725, 24.3813, 88.2549)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62F4 #A7F462
analogous
#6662F4 #AF62F4 #F462F0
triadic
#AF62F4 #F4AF62 #62F4AF
tetradic
#AF62F4 #F46662 #A7F462 #62F0F4
square
#AF62F4 #F46662 #A7F462 #62F0F4
split-complementary
#AF62F4 #F0F462 #62F466
monochromatic
#730ECD #9229F0 #AF62F4 #CC9BF8 #E9D4FC

Accessibility & contrast

On white

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

On black

5.88
#AF62F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF62F4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF62F4#FFFFFF#000000##000000
##AF62F41.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1785F9
Deuteranopia (green-blind)
#4388F1
Tritanopia (blue-blind)
#A37FA2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af62f4;
/* rgb */ color: rgb(175, 98, 244);
/* oklch */ color: oklch(64.9% 0.214 305.5);
Tailwind
colors: {
  custom: {
    50: '#cb92f8',
    500: '#af62f4',
    950: '#000000',
  },
}
SCSS
$custom: #af62f4;
$custom-light: #cb92f8;
$custom-dark: #000000;
JSON
{
  "hex": "#af62f4",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 271.644,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64925,
    "c": 0.21376,
    "h": 305.5
  },
  "luminance": 0.24381
}

Semantic roles & 50–950 ramp

primary
#AF62F4
secondary
#D8F0C2
accent
#E3026D
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF62F4

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

Preview Lab → · Contrast checker → · Palette generator →

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