#AF5CCF#AF5CCF

#AF5CCF is a mid, vivid purple. Relative luminance 0.213; OKLCH L 61.9% C 0.183 H 315.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AF5CCF
RGBrgb(175, 92, 207)
HSLhsl(283, 55%, 59%)
HSVhsv(283, 56%, 81%)
CMYKcmyk(15.5%, 55.6%, 0%, 18.8%)
CIE-LABlab(53.25, 52.11, -45.84)
CIE-LCHlch(53.25, 69.40, 318.66°)
OKLaboklab(61.9% 0.1311 -0.128)
OKLCHoklch(61.9% 0.183 315.7)
XYZxyz(32.7671, 21.2743, 61.3997)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5CCF #7CCF5C
analogous
#755CCF #AF5CCF #CF5CB5
triadic
#AF5CCF #CFAF5C #5CCFAF
tetradic
#AF5CCF #CF755C #7CCF5C #5CB5CF
square
#AF5CCF #CF755C #7CCF5C #5CB5CF
split-complementary
#AF5CCF #B5CF5C #5CCF75
monochromatic
#6E2888 #9436B8 #AF5CCF #C68BDD #DDBBEB

Accessibility & contrast

On white

4.00
#AF5CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#AF5CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5CCF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5CCF#FFFFFF#000000##000000
##AF5CCF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7AD3
Deuteranopia (green-blind)
#5C82CC
Tritanopia (blue-blind)
#AD6F8D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af5ccf;
/* rgb */ color: rgb(175, 92, 207);
/* oklch */ color: oklch(61.9% 0.183 315.7);
Tailwind
colors: {
  custom: {
    50: '#c98ede',
    500: '#af5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #af5ccf;
$custom-light: #c98ede;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ccf",
  "rgb": {
    "r": 175,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 283.304,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61898,
    "c": 0.18318,
    "h": 315.7
  },
  "luminance": 0.21273
}

Semantic roles & 50–950 ramp

primary
#AF5CCF
secondary
#B9DAAD
accent
#DE4A73
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AF5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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