#AF62BE#AF62BE

#AF62BE is a mid, vivid purple. Relative luminance 0.216; OKLCH L 61.9% C 0.156 H 320.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AF62BE
RGBrgb(175, 98, 190)
HSLhsl(290, 41%, 56%)
HSVhsv(290, 48%, 75%)
CMYKcmyk(7.9%, 48.4%, 0%, 25.5%)
CIE-LABlab(53.57, 45.57, -35.60)
CIE-LCHlch(53.57, 57.83, 322.00°)
OKLaboklab(61.86% 0.1211 -0.0984)
OKLCHoklch(61.86% 0.156 320.9)
XYZxyz(31.3401, 21.5683, 51.2175)
Luminance0.2157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF62BE #71BE62
analogous
#8162BE #AF62BE #BE629F
triadic
#AF62BE #BEAF62 #62BEAF
tetradic
#AF62BE #BE8162 #71BE62 #629FBE
square
#AF62BE #BE8162 #71BE62 #629FBE
split-complementary
#AF62BE #9FBE62 #62BE81
monochromatic
#6A3075 #9142A0 #AF62BE #C58DD0 #DBB9E2

Accessibility & contrast

On white

3.95
#AF62BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#AF62BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF62BE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF62BE#FFFFFF#000000##000000
##AF62BE1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#547AC1
Deuteranopia (green-blind)
#6A83BB
Tritanopia (blue-blind)
#B06E87
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af62be;
/* rgb */ color: rgb(175, 98, 190);
/* oklch */ color: oklch(61.9% 0.156 320.9);
Tailwind
colors: {
  custom: {
    50: '#c991d2',
    500: '#af62be',
    950: '#000000',
  },
}
SCSS
$custom: #af62be;
$custom-light: #c991d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af62be",
  "rgb": {
    "r": 175,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 290.217,
    "s": 41.441,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61855,
    "c": 0.15597,
    "h": 320.9
  },
  "luminance": 0.21567
}

Semantic roles & 50–950 ramp

primary
#AF62BE
secondary
#B1D1AB
accent
#D1576B
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AF62BE

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

Preview Lab → · Contrast checker → · Palette generator →

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