#AF62DF#AF62DF

#AF62DF is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.6% C 0.191 H 310.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AF62DF
RGBrgb(175, 98, 223)
HSLhsl(277, 66%, 63%)
HSVhsv(277, 56%, 87%)
CMYKcmyk(21.5%, 56.1%, 0%, 12.5%)
CIE-LABlab(55.25, 52.49, -51.72)
CIE-LCHlch(55.25, 73.69, 315.42°)
OKLaboklab(63.65% 0.1241 -0.1452)
OKLCHoklch(63.65% 0.191 310.5)
XYZxyz(35.3637, 23.1777, 72.4086)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62DF #92DF62
analogous
#7062DF #AF62DF #DF62D1
triadic
#AF62DF #DFAF62 #62DFAF
tetradic
#AF62DF #DF7062 #92DF62 #62D1DF
square
#AF62DF #DF7062 #92DF62 #62D1DF
split-complementary
#AF62DF #D1DF62 #62DF70
monochromatic
#7322A5 #952FD5 #AF62DF #C995E9 #E3C8F4

Accessibility & contrast

On white

3.73
#AF62DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#AF62DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF62DF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF62DF#FFFFFF#000000##000000
##AF62DF1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A81E3
Deuteranopia (green-blind)
#5786DC
Tritanopia (blue-blind)
#A97897
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af62df;
/* rgb */ color: rgb(175, 98, 223);
/* oklch */ color: oklch(63.6% 0.191 310.5);
Tailwind
colors: {
  custom: {
    50: '#ca92e9',
    500: '#af62df',
    950: '#000000',
  },
}
SCSS
$custom: #af62df;
$custom-light: #ca92e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af62df",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 276.96,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63649,
    "c": 0.19101,
    "h": 310.5
  },
  "luminance": 0.23177
}

Semantic roles & 50–950 ramp

primary
#AF62DF
secondary
#C9E5B8
accent
#CE175E
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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