#AF5DD4#AF5DD4

#AF5DD4 is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.3% C 0.187 H 314.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AF5DD4
RGBrgb(175, 93, 212)
HSLhsl(281, 58%, 60%)
HSVhsv(281, 56%, 83%)
CMYKcmyk(17.5%, 56.1%, 0%, 16.9%)
CIE-LABlab(53.70, 52.65, -47.96)
CIE-LCHlch(53.70, 71.22, 317.67°)
OKLaboklab(62.32% 0.13 -0.1342)
OKLCHoklch(62.32% 0.187 314.1)
XYZxyz(33.4753, 21.6971, 64.6992)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5DD4 #82D45D
analogous
#745DD4 #AF5DD4 #D45DBD
triadic
#AF5DD4 #D4AF5D #5DD4AF
tetradic
#AF5DD4 #D4745D #82D45D #5DBDD4
square
#AF5DD4 #D4745D #82D45D #5DBDD4
split-complementary
#AF5DD4 #BDD45D #5DD474
monochromatic
#6F2690 #9533C1 #AF5DD4 #C78DE1 #DFBEEE

Accessibility & contrast

On white

3.93
#AF5DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#AF5DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5DD4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5DD4#FFFFFF#000000##000000
##AF5DD41.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7CD8
Deuteranopia (green-blind)
#5A82D1
Tritanopia (blue-blind)
#AC7190
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af5dd4;
/* rgb */ color: rgb(175, 93, 212);
/* oklch */ color: oklch(62.3% 0.187 314.1);
Tailwind
colors: {
  custom: {
    50: '#ca8ee2',
    500: '#af5dd4',
    950: '#000000',
  },
}
SCSS
$custom: #af5dd4;
$custom-light: #ca8ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#af5dd4",
  "rgb": {
    "r": 175,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 281.345,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62318,
    "c": 0.18686,
    "h": 314.1
  },
  "luminance": 0.21696
}

Semantic roles & 50–950 ramp

primary
#AF5DD4
secondary
#BEDDAF
accent
#E14777
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140D15
muted
#827D83

Preview Lab

Preview with #AF5DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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