#AF5DCF#AF5DCF

#AF5DCF is a light, vivid purple. Relative luminance 0.214; OKLCH L 62.0% C 0.182 H 315.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF5DCF
RGBrgb(175, 93, 207)
HSLhsl(283, 54%, 59%)
HSVhsv(283, 55%, 81%)
CMYKcmyk(15.5%, 55.1%, 0%, 18.8%)
CIE-LABlab(53.44, 51.61, -45.54)
CIE-LCHlch(53.44, 68.83, 318.57°)
OKLaboklab(62.04% 0.1297 -0.1271)
OKLCHoklch(62.04% 0.182 315.6)
XYZxyz(32.8543, 21.4487, 61.4287)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5DCF #7DCF5D
analogous
#765DCF #AF5DCF #CF5DB6
triadic
#AF5DCF #CFAF5D #5DCFAF
tetradic
#AF5DCF #CF765D #7DCF5D #5DB6CF
square
#AF5DCF #CF765D #7DCF5D #5DB6CF
split-complementary
#AF5DCF #B6CF5D #5DCF76
monochromatic
#6E2989 #9437B8 #AF5DCF #C68CDD #DEBBEB

Accessibility & contrast

On white

3.97
#AF5DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#AF5DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5DCF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5DCF#FFFFFF#000000##000000
##AF5DCF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#417BD3
Deuteranopia (green-blind)
#5D82CC
Tritanopia (blue-blind)
#AD6F8D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af5dcf;
/* rgb */ color: rgb(175, 93, 207);
/* oklch */ color: oklch(62.0% 0.182 315.6);
Tailwind
colors: {
  custom: {
    50: '#c98ede',
    500: '#af5dcf',
    950: '#000000',
  },
}
SCSS
$custom: #af5dcf;
$custom-light: #c98ede;
$custom-dark: #000000;
JSON
{
  "hex": "#af5dcf",
  "rgb": {
    "r": 175,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 283.158,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62036,
    "c": 0.18164,
    "h": 315.6
  },
  "luminance": 0.21448
}

Semantic roles & 50–950 ramp

primary
#AF5DCF
secondary
#BADAAD
accent
#DE4A74
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #AF5DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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