#AF62F3#AF62F3

#AF62F3 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.9% C 0.213 H 305.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AF62F3
RGBrgb(175, 98, 243)
HSLhsl(272, 86%, 67%)
HSVhsv(272, 60%, 95%)
CMYKcmyk(28%, 59.7%, 0%, 4.7%)
CIE-LABlab(56.41, 56.95, -61.07)
CIE-LCHlch(56.41, 83.51, 313.00°)
OKLaboklab(64.86% 0.1243 -0.1726)
OKLCHoklch(64.86% 0.213 305.8)
XYZxyz(38.2211, 24.3207, 87.4575)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62F3 #A6F362
analogous
#6762F3 #AF62F3 #F362EF
triadic
#AF62F3 #F3AF62 #62F3AF
tetradic
#AF62F3 #F36762 #A6F362 #62EFF3
square
#AF62F3 #F36762 #A6F362 #62EFF3
split-complementary
#AF62F3 #EFF362 #62F367
monochromatic
#7310CB #9229EF #AF62F3 #CC9BF7 #E9D4FC

Accessibility & contrast

On white

3.58
#AF62F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#AF62F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF62F3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF62F3#FFFFFF#000000##000000
##AF62F31.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A85F8
Deuteranopia (green-blind)
#4488F0
Tritanopia (blue-blind)
#A37FA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af62f3;
/* rgb */ color: rgb(175, 98, 243);
/* oklch */ color: oklch(64.9% 0.213 305.8);
Tailwind
colors: {
  custom: {
    50: '#cb92f8',
    500: '#af62f3',
    950: '#000000',
  },
}
SCSS
$custom: #af62f3;
$custom-light: #cb92f8;
$custom-dark: #000000;
JSON
{
  "hex": "#af62f3",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 271.862,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64862,
    "c": 0.21268,
    "h": 305.8
  },
  "luminance": 0.2432
}

Semantic roles & 50–950 ramp

primary
#AF62F3
secondary
#D7F0C1
accent
#E2036C
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF62F3

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

Preview Lab → · Contrast checker → · Palette generator →

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