#AF5CD7#AF5CD7

#AF5CD7 is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.4% C 0.192 H 313.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AF5CD7
RGBrgb(175, 92, 215)
HSLhsl(280, 61%, 60%)
HSVhsv(280, 57%, 84%)
CMYKcmyk(18.6%, 57.2%, 0%, 15.7%)
CIE-LABlab(53.68, 53.78, -49.70)
CIE-LCHlch(53.68, 73.23, 317.26°)
OKLaboklab(62.35% 0.1315 -0.1393)
OKLCHoklch(62.35% 0.192 313.3)
XYZxyz(33.7700, 21.6755, 66.6817)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5CD7 #84D75C
analogous
#725CD7 #AF5CD7 #D75CC1
triadic
#AF5CD7 #D7AF5C #5CD7AF
tetradic
#AF5CD7 #D7725C #84D75C #5CC1D7
square
#AF5CD7 #D7725C #84D75C #5CC1D7
split-complementary
#AF5CD7 #C1D75C #5CD772
monochromatic
#702494 #9530C5 #AF5CD7 #C78DE3 #DFBEEF

Accessibility & contrast

On white

3.94
#AF5CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#AF5CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5CD7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5CD7#FFFFFF#000000##000000
##AF5CD71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#377CDB
Deuteranopia (green-blind)
#5782D4
Tritanopia (blue-blind)
#AB7191
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af5cd7;
/* rgb */ color: rgb(175, 92, 215);
/* oklch */ color: oklch(62.4% 0.192 313.3);
Tailwind
colors: {
  custom: {
    50: '#ca8ee4',
    500: '#af5cd7',
    950: '#000000',
  },
}
SCSS
$custom: #af5cd7;
$custom-light: #ca8ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#af5cd7",
  "rgb": {
    "r": 175,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 280.488,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62354,
    "c": 0.1915,
    "h": 313.3
  },
  "luminance": 0.21675
}

Semantic roles & 50–950 ramp

primary
#AF5CD7
secondary
#BFDFB0
accent
#C81D55
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140D15
muted
#827D84

Preview Lab

Preview with #AF5CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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