#AF3BDA#AF3BDA

#AF3BDA is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.8% C 0.237 H 315.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF3BDA
RGBrgb(175, 59, 218)
HSLhsl(284, 68%, 54%)
HSVhsv(284, 73%, 85%)
CMYKcmyk(19.7%, 72.9%, 0%, 14.5%)
CIE-LABlab(48.64, 68.83, -59.48)
CIE-LCHlch(48.64, 90.97, 319.17°)
OKLaboklab(58.78% 0.168 -0.1677)
OKLCHoklch(58.78% 0.237 315)
XYZxyz(31.8960, 17.3050, 67.9761)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BDA #66DA3B
analogous
#603BDA #AF3BDA #DA3BB5
triadic
#AF3BDA #DAAF3B #3BDAAF
tetradic
#AF3BDA #DA603B #66DA3B #3BB5DA
square
#AF3BDA #DA603B #66DA3B #3BB5DA
split-complementary
#AF3BDA #B5DA3B #3BDA60
monochromatic
#661982 #8E22B6 #AF3BDA #C46EE4 #D9A2ED

Accessibility & contrast

On white

4.71
#AF3BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AF3BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BDA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BDA#FFFFFF#000000##FFFFFF
##AF3BDA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#3576D7
Tritanopia (blue-blind)
#AB5D88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3bda;
/* rgb */ color: rgb(175, 59, 218);
/* oklch */ color: oklch(58.8% 0.237 315.0);
Tailwind
colors: {
  custom: {
    50: '#cb7ce6',
    500: '#af3bda',
    950: '#000000',
  },
}
SCSS
$custom: #af3bda;
$custom-light: #cb7ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bda",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 218
  },
  "hsl": {
    "h": 283.774,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58781,
    "c": 0.23735,
    "h": 315
  },
  "luminance": 0.17304
}

Semantic roles & 50–950 ramp

primary
#AF3BDA
secondary
#A9DA97
accent
#EB3D6C
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AF3BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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