#AF5CC0#AF5CC0

#AF5CC0 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.1% C 0.168 H 320.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AF5CC0
RGBrgb(175, 92, 192)
HSLhsl(290, 44%, 56%)
HSVhsv(290, 52%, 75%)
CMYKcmyk(8.9%, 52.1%, 0%, 24.7%)
CIE-LABlab(52.48, 49.07, -38.46)
CIE-LCHlch(52.48, 62.34, 321.91°)
OKLaboklab(61.09% 0.1297 -0.1066)
OKLCHoklch(61.09% 0.168 320.6)
XYZxyz(31.0196, 20.5753, 52.1964)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5CC0 #6DC05C
analogous
#7D5CC0 #AF5CC0 #C05C9F
triadic
#AF5CC0 #C0AF5C #5CC0AF
tetradic
#AF5CC0 #C07D5C #6DC05C #5C9FC0
square
#AF5CC0 #C07D5C #6DC05C #5C9FC0
split-complementary
#AF5CC0 #9FC05C #5CC07D
monochromatic
#682D75 #903EA1 #AF5CC0 #C588D1 #DAB4E2

Accessibility & contrast

On white

4.11
#AF5CC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#AF5CC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5CC0
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5CC0#FFFFFF#000000##000000
##AF5CC01.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B77C3
Deuteranopia (green-blind)
#6580BD
Tritanopia (blue-blind)
#B06A85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #af5cc0;
/* rgb */ color: rgb(175, 92, 192);
/* oklch */ color: oklch(61.1% 0.168 320.6);
Tailwind
colors: {
  custom: {
    50: '#c98dd3',
    500: '#af5cc0',
    950: '#000000',
  },
}
SCSS
$custom: #af5cc0;
$custom-light: #c98dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#af5cc0",
  "rgb": {
    "r": 175,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 289.8,
    "s": 44.248,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61085,
    "c": 0.16787,
    "h": 320.6
  },
  "luminance": 0.20574
}

Semantic roles & 50–950 ramp

primary
#AF5CC0
secondary
#AED1A7
accent
#D4546A
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AF5CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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