#AF4BD3#AF4BD3

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

Color values

HEX#AF4BD3
RGBrgb(175, 75, 211)
HSLhsl(284, 61%, 56%)
HSVhsv(284, 64%, 83%)
CMYKcmyk(17.1%, 64.5%, 0%, 17.3%)
CIE-LABlab(50.51, 60.97, -52.48)
CIE-LCHlch(50.51, 80.45, 319.28°)
OKLaboklab(59.98% 0.152 -0.1473)
OKLCHoklch(59.98% 0.212 315.9)
XYZxyz(31.9513, 18.8504, 63.5708)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BD3 #6FD34B
analogous
#6B4BD3 #AF4BD3 #D34BB3
triadic
#AF4BD3 #D3AF4B #4BD3AF
tetradic
#AF4BD3 #D36B4B #6FD34B #4BB3D3
square
#AF4BD3 #D36B4B #6FD34B #4BB3D3
split-complementary
#AF4BD3 #B3D34B #4BD36B
monochromatic
#692083 #912CB5 #AF4BD3 #C57CDF #DBADEB

Accessibility & contrast

On white

4.40
#AF4BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4BD3#FFFFFF#000000##000000
##AF4BD31.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1272D7
Deuteranopia (green-blind)
#4B7BD0
Tritanopia (blue-blind)
#AD6489
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af4bd3;
/* rgb */ color: rgb(175, 75, 211);
/* oklch */ color: oklch(60.0% 0.212 315.9);
Tailwind
colors: {
  custom: {
    50: '#ca84e1',
    500: '#af4bd3',
    950: '#000000',
  },
}
SCSS
$custom: #af4bd3;
$custom-light: #ca84e1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bd3",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 284.118,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5998,
    "c": 0.21164,
    "h": 315.9
  },
  "luminance": 0.18849
}

Semantic roles & 50–950 ramp

primary
#AF4BD3
secondary
#B0D9A1
accent
#E4446E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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