#AF3BCD#AF3BCD

#AF3BCD is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.9% C 0.226 H 318.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AF3BCD
RGBrgb(175, 59, 205)
HSLhsl(288, 59%, 52%)
HSVhsv(288, 71%, 80%)
CMYKcmyk(14.6%, 71.2%, 0%, 19.6%)
CIE-LABlab(47.82, 66.34, -53.36)
CIE-LCHlch(47.82, 85.14, 321.19°)
OKLaboklab(57.93% 0.1693 -0.1497)
OKLCHoklch(57.93% 0.226 318.5)
XYZxyz(30.2611, 16.6511, 59.3658)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BCD #59CD3B
analogous
#663BCD #AF3BCD #CD3BA2
triadic
#AF3BCD #CDAF3B #3BCDAF
tetradic
#AF3BCD #CD663B #59CD3B #3BA2CD
square
#AF3BCD #CD663B #59CD3B #3BA2CD
split-complementary
#AF3BCD #A2CD3B #3BCD66
monochromatic
#601D71 #8929A2 #AF3BCD #C36CD9 #D79DE6

Accessibility & contrast

On white

4.85
#AF3BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AF3BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BCD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BCD#FFFFFF#000000##FFFFFF
##AF3BCD1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#AE5881
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3bcd;
/* rgb */ color: rgb(175, 59, 205);
/* oklch */ color: oklch(57.9% 0.226 318.5);
Tailwind
colors: {
  custom: {
    50: '#cb7bdd',
    500: '#af3bcd',
    950: '#000000',
  },
}
SCSS
$custom: #af3bcd;
$custom-light: #cb7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bcd",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 205
  },
  "hsl": {
    "h": 287.671,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57932,
    "c": 0.22601,
    "h": 318.5
  },
  "luminance": 0.1665
}

Semantic roles & 50–950 ramp

primary
#AF3BCD
secondary
#9FD292
accent
#E34566
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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