#AF5CD3#AF5CD3

#AF5CD3 is a light, vivid purple. Relative luminance 0.215; OKLCH L 62.1% C 0.187 H 314.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF5CD3
RGBrgb(175, 92, 211)
HSLhsl(282, 57%, 59%)
HSVhsv(282, 56%, 83%)
CMYKcmyk(17.1%, 56.4%, 0%, 17.3%)
CIE-LABlab(53.46, 52.94, -47.78)
CIE-LCHlch(53.46, 71.31, 317.94°)
OKLaboklab(62.12% 0.1313 -0.1336)
OKLCHoklch(62.12% 0.187 314.5)
XYZxyz(33.2623, 21.4724, 64.0078)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5CD3 #80D35C
analogous
#745CD3 #AF5CD3 #D35CBB
triadic
#AF5CD3 #D3AF5C #5CD3AF
tetradic
#AF5CD3 #D3745C #80D35C #5CBBD3
square
#AF5CD3 #D3745C #80D35C #5CBBD3
split-complementary
#AF5CD3 #BBD35C #5CD374
monochromatic
#6F268E #9433BE #AF5CD3 #C78CE0 #DEBCED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF5CD3#FFFFFF#000000##000000
##AF5CD31.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)
#3C7BD7
Deuteranopia (green-blind)
#5A82D0
Tritanopia (blue-blind)
#AC708F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af5cd3;
/* rgb */ color: rgb(175, 92, 211);
/* oklch */ color: oklch(62.1% 0.187 314.5);
Tailwind
colors: {
  custom: {
    50: '#ca8ee1',
    500: '#af5cd3',
    950: '#000000',
  },
}
SCSS
$custom: #af5cd3;
$custom-light: #ca8ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#af5cd3",
  "rgb": {
    "r": 175,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 281.849,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62124,
    "c": 0.18733,
    "h": 314.5
  },
  "luminance": 0.21471
}

Semantic roles & 50–950 ramp

primary
#AF5CD3
secondary
#BCDDAE
accent
#E14776
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #AF5CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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