#AF5FCD#AF5FCD

#AF5FCD is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.2% C 0.176 H 316.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AF5FCD
RGBrgb(175, 95, 205)
HSLhsl(284, 52%, 59%)
HSVhsv(284, 54%, 80%)
CMYKcmyk(14.6%, 53.7%, 0%, 19.6%)
CIE-LABlab(53.72, 50.18, -43.96)
CIE-LCHlch(53.72, 66.71, 318.78°)
OKLaboklab(62.21% 0.1269 -0.1225)
OKLCHoklch(62.21% 0.176 316)
XYZxyz(32.7892, 21.7072, 60.2084)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5FCD #7DCD5F
analogous
#785FCD #AF5FCD #CD5FB4
triadic
#AF5FCD #CDAF5F #5FCDAF
tetradic
#AF5FCD #CD785F #7DCD5F #5FB4CD
square
#AF5FCD #CD785F #7DCD5F #5FB4CD
split-complementary
#AF5FCD #B4CD5F #5FCD78
monochromatic
#6E2A87 #9439B6 #AF5FCD #C68EDC #DEBCEA

Accessibility & contrast

On white

3.93
#AF5FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#AF5FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5FCD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5FCD#FFFFFF#000000##000000
##AF5FCD1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD1
Deuteranopia (green-blind)
#6083CA
Tritanopia (blue-blind)
#AD708D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af5fcd;
/* rgb */ color: rgb(175, 95, 205);
/* oklch */ color: oklch(62.2% 0.176 316.0);
Tailwind
colors: {
  custom: {
    50: '#c98fdd',
    500: '#af5fcd',
    950: '#000000',
  },
}
SCSS
$custom: #af5fcd;
$custom-light: #c98fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#af5fcd",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 283.636,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62206,
    "c": 0.17644,
    "h": 316
  },
  "luminance": 0.21706
}

Semantic roles & 50–950 ramp

primary
#AF5FCD
secondary
#BADAAE
accent
#DC4C73
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AF5FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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