#AF62E7#AF62E7

#AF62E7 is a light, vivid violet. Relative luminance 0.236; OKLCH L 64.1% C 0.200 H 308.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AF62E7
RGBrgb(175, 98, 231)
HSLhsl(275, 73%, 65%)
HSVhsv(275, 58%, 91%)
CMYKcmyk(24.2%, 57.6%, 0%, 9.4%)
CIE-LABlab(55.70, 54.25, -55.50)
CIE-LCHlch(55.70, 77.61, 314.35°)
OKLaboklab(64.12% 0.1243 -0.1562)
OKLCHoklch(64.12% 0.2 308.5)
XYZxyz(36.4678, 23.6194, 78.2237)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62E7 #9AE762
analogous
#6D62E7 #AF62E7 #E762DD
triadic
#AF62E7 #E7AF62 #62E7AF
tetradic
#AF62E7 #E76D62 #9AE762 #62DDE7
square
#AF62E7 #E76D62 #9AE762 #62DDE7
split-complementary
#AF62E7 #DDE762 #62E76D
monochromatic
#731BB3 #942DDF #AF62E7 #CA97EF #E5CCF7

Accessibility & contrast

On white

3.67
#AF62E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#AF62E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF62E7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF62E7#FFFFFF#000000##000000
##AF62E71.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3182EB
Deuteranopia (green-blind)
#5086E4
Tritanopia (blue-blind)
#A77B9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af62e7;
/* rgb */ color: rgb(175, 98, 231);
/* oklch */ color: oklch(64.1% 0.200 308.5);
Tailwind
colors: {
  custom: {
    50: '#ca92ef',
    500: '#af62e7',
    950: '#000000',
  },
}
SCSS
$custom: #af62e7;
$custom-light: #ca92ef;
$custom-dark: #000000;
JSON
{
  "hex": "#af62e7",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 274.737,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64124,
    "c": 0.19966,
    "h": 308.5
  },
  "luminance": 0.23619
}

Semantic roles & 50–950 ramp

primary
#AF62E7
secondary
#CFE9BB
accent
#D61063
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF62E7

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

Preview Lab → · Contrast checker → · Palette generator →

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