#AF62F0#AF62F0

#AF62F0 is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.7% C 0.209 H 306.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AF62F0
RGBrgb(175, 98, 240)
HSLhsl(273, 83%, 66%)
HSVhsv(273, 59%, 94%)
CMYKcmyk(27.1%, 59.2%, 0%, 5.9%)
CIE-LABlab(56.23, 56.27, -59.69)
CIE-LCHlch(56.23, 82.03, 313.31°)
OKLaboklab(64.67% 0.1243 -0.1685)
OKLCHoklch(64.67% 0.209 306.4)
XYZxyz(37.7717, 24.1410, 85.0910)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62F0 #A3F062
analogous
#6862F0 #AF62F0 #F062EA
triadic
#AF62F0 #F0AF62 #62F0AF
tetradic
#AF62F0 #F06862 #A3F062 #62EAF0
square
#AF62F0 #F06862 #A3F062 #62EAF0
split-complementary
#AF62F0 #EAF062 #62F068
monochromatic
#7313C5 #932AEB #AF62F0 #CB9AF5 #E8D2FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF62F0#FFFFFF#000000##000000
##AF62F01.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)
#2184F5
Deuteranopia (green-blind)
#4887ED
Tritanopia (blue-blind)
#A47EA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af62f0;
/* rgb */ color: rgb(175, 98, 240);
/* oklch */ color: oklch(64.7% 0.209 306.4);
Tailwind
colors: {
  custom: {
    50: '#cb92f6',
    500: '#af62f0',
    950: '#000000',
  },
}
SCSS
$custom: #af62f0;
$custom-light: #cb92f6;
$custom-dark: #000000;
JSON
{
  "hex": "#af62f0",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 272.535,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64674,
    "c": 0.20943,
    "h": 306.4
  },
  "luminance": 0.24141
}

Semantic roles & 50–950 ramp

primary
#AF62F0
secondary
#D5EEC0
accent
#DF076A
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF62F0

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

Preview Lab → · Contrast checker → · Palette generator →

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