#AF5CC3#AF5CC3

#AF5CC3 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.2% C 0.171 H 319.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF5CC3
RGBrgb(175, 92, 195)
HSLhsl(288, 46%, 56%)
HSVhsv(288, 53%, 76%)
CMYKcmyk(10.3%, 52.8%, 0%, 23.5%)
CIE-LABlab(52.63, 49.66, -39.95)
CIE-LCHlch(52.63, 63.74, 321.19°)
OKLaboklab(61.24% 0.13 -0.1109)
OKLCHoklch(61.24% 0.171 319.5)
XYZxyz(31.3554, 20.7096, 53.9649)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5CC3 #70C35C
analogous
#7C5CC3 #AF5CC3 #C35CA4
triadic
#AF5CC3 #C3AF5C #5CC3AF
tetradic
#AF5CC3 #C37C5C #70C35C #5CA4C3
square
#AF5CC3 #C37C5C #70C35C #5CA4C3
split-complementary
#AF5CC3 #A4C35C #5CC37C
monochromatic
#6A2C78 #913DA5 #AF5CC3 #C589D3 #DBB5E4

Accessibility & contrast

On white

4.08
#AF5CC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#AF5CC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5CC3
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5CC3#FFFFFF#000000##000000
##AF5CC31.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4978C6
Deuteranopia (green-blind)
#6381C0
Tritanopia (blue-blind)
#B06B87
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af5cc3;
/* rgb */ color: rgb(175, 92, 195);
/* oklch */ color: oklch(61.2% 0.171 319.5);
Tailwind
colors: {
  custom: {
    50: '#c98dd5',
    500: '#af5cc3',
    950: '#000000',
  },
}
SCSS
$custom: #af5cc3;
$custom-light: #c98dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#af5cc3",
  "rgb": {
    "r": 175,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 288.35,
    "s": 46.188,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61243,
    "c": 0.17089,
    "h": 319.5
  },
  "luminance": 0.20708
}

Semantic roles & 50–950 ramp

primary
#AF5CC3
secondary
#B0D3A8
accent
#D6526C
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AF5CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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