#AF4BD5#AF4BD5

#AF4BD5 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.1% C 0.214 H 315.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AF4BD5
RGBrgb(175, 75, 213)
HSLhsl(283, 62%, 56%)
HSVhsv(283, 65%, 84%)
CMYKcmyk(17.8%, 64.8%, 0%, 16.5%)
CIE-LABlab(50.63, 61.37, -53.44)
CIE-LCHlch(50.63, 81.38, 318.95°)
OKLaboklab(60.1% 0.1519 -0.1501)
OKLCHoklch(60.1% 0.214 315.3)
XYZxyz(32.2036, 18.9513, 64.8995)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BD5 #71D54B
analogous
#6A4BD5 #AF4BD5 #D54BB6
triadic
#AF4BD5 #D5AF4B #4BD5AF
tetradic
#AF4BD5 #D56A4B #71D54B #4BB6D5
square
#AF4BD5 #D56A4B #71D54B #4BB6D5
split-complementary
#AF4BD5 #B6D54B #4BD56A
monochromatic
#6A1F86 #912BB8 #AF4BD5 #C57DE1 #DBAEEC

Accessibility & contrast

On white

4.38
#AF4BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#AF4BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BD5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BD5#FFFFFF#000000##000000
##AF4BD51.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A73D9
Deuteranopia (green-blind)
#497BD2
Tritanopia (blue-blind)
#AC658A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af4bd5;
/* rgb */ color: rgb(175, 75, 213);
/* oklch */ color: oklch(60.1% 0.214 315.3);
Tailwind
colors: {
  custom: {
    50: '#ca84e3',
    500: '#af4bd5',
    950: '#000000',
  },
}
SCSS
$custom: #af4bd5;
$custom-light: #ca84e3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bd5",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 283.478,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60103,
    "c": 0.21355,
    "h": 315.3
  },
  "luminance": 0.1895
}

Semantic roles & 50–950 ramp

primary
#AF4BD5
secondary
#B1DAA2
accent
#E5436F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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