#AF4DCD#AF4DCD

#AF4DCD is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.9% C 0.203 H 317.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AF4DCD
RGBrgb(175, 77, 205)
HSLhsl(286, 56%, 55%)
HSVhsv(286, 62%, 80%)
CMYKcmyk(14.6%, 62.4%, 0%, 19.6%)
CIE-LABlab(50.49, 58.88, -49.09)
CIE-LCHlch(50.49, 76.66, 320.18°)
OKLaboklab(59.85% 0.1497 -0.1374)
OKLCHoklch(59.85% 0.203 317.5)
XYZxyz(31.3509, 18.8307, 59.7290)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DCD #6BCD4D
analogous
#6F4DCD #AF4DCD #CD4DAB
triadic
#AF4DCD #CDAF4D #4DCDAF
tetradic
#AF4DCD #CD6F4D #6BCD4D #4DABCD
square
#AF4DCD #CD6F4D #6BCD4D #4DABCD
split-complementary
#AF4DCD #ABCD4D #4DCD6F
monochromatic
#68237D #8F30AC #AF4DCD #C47DDA #DAADE8

Accessibility & contrast

On white

4.41
#AF4DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AF4DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DCD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DCD#FFFFFF#000000##000000
##AF4DCD1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2572D1
Deuteranopia (green-blind)
#517BCA
Tritanopia (blue-blind)
#AE6386
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af4dcd;
/* rgb */ color: rgb(175, 77, 205);
/* oklch */ color: oklch(59.9% 0.203 317.5);
Tailwind
colors: {
  custom: {
    50: '#ca85dd',
    500: '#af4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #af4dcd;
$custom-light: #ca85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dcd",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 285.938,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59851,
    "c": 0.20321,
    "h": 317.5
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#AF4DCD
secondary
#ADD6A0
accent
#DF486C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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