#AF62CD#AF62CD

#AF62CD is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.6% C 0.172 H 315.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AF62CD
RGBrgb(175, 98, 205)
HSLhsl(283, 52%, 59%)
HSVhsv(283, 52%, 80%)
CMYKcmyk(14.6%, 52.2%, 0%, 19.6%)
CIE-LABlab(54.30, 48.63, -43.04)
CIE-LCHlch(54.30, 64.94, 318.50°)
OKLaboklab(62.64% 0.1229 -0.1199)
OKLCHoklch(62.64% 0.172 315.7)
XYZxyz(33.0646, 22.2581, 60.3003)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62CD #80CD62
analogous
#7A62CD #AF62CD #CD62B5
triadic
#AF62CD #CDAF62 #62CDAF
tetradic
#AF62CD #CD7A62 #80CD62 #62B5CD
square
#AF62CD #CD7A62 #80CD62 #62B5CD
split-complementary
#AF62CD #B5CD62 #62CD7A
monochromatic
#6F2C89 #943AB7 #AF62CD #C790DC #DEBFEB

Accessibility & contrast

On white

3.85
#AF62CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#AF62CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF62CD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF62CD#FFFFFF#000000##000000
##AF62CD1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD1
Deuteranopia (green-blind)
#6284CA
Tritanopia (blue-blind)
#AD738E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af62cd;
/* rgb */ color: rgb(175, 98, 205);
/* oklch */ color: oklch(62.6% 0.172 315.7);
Tailwind
colors: {
  custom: {
    50: '#c991dd',
    500: '#af62cd',
    950: '#000000',
  },
}
SCSS
$custom: #af62cd;
$custom-light: #c991dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af62cd",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 283.178,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62637,
    "c": 0.17168,
    "h": 315.7
  },
  "luminance": 0.22257
}

Semantic roles & 50–950 ramp

primary
#AF62CD
secondary
#BCDAB1
accent
#DB4D75
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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