#AF3BCA#AF3BCA

#AF3BCA is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.223 H 319.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF3BCA
RGBrgb(175, 59, 202)
HSLhsl(289, 57%, 51%)
HSVhsv(289, 71%, 79%)
CMYKcmyk(13.4%, 70.8%, 0%, 20.8%)
CIE-LABlab(47.63, 65.78, -51.92)
CIE-LCHlch(47.63, 83.80, 321.71°)
OKLaboklab(57.74% 0.1695 -0.1456)
OKLCHoklch(57.74% 0.223 319.3)
XYZxyz(29.9025, 16.5076, 57.4769)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BCA #56CA3B
analogous
#673BCA #AF3BCA #CA3B9D
triadic
#AF3BCA #CAAF3B #3BCAAF
tetradic
#AF3BCA #CA673B #56CA3B #3B9DCA
square
#AF3BCA #CA673B #56CA3B #3B9DCA
split-complementary
#AF3BCA #9DCA3B #3BCA67
monochromatic
#5E1E6D #882B9D #AF3BCA #C36BD7 #D69BE4

Accessibility & contrast

On white

4.88
#AF3BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AF3BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BCA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BCA#FFFFFF#000000##FFFFFF
##AF3BCA1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#4675C7
Tritanopia (blue-blind)
#AF577F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3bca;
/* rgb */ color: rgb(175, 59, 202);
/* oklch */ color: oklch(57.7% 0.223 319.3);
Tailwind
colors: {
  custom: {
    50: '#cb7bdb',
    500: '#af3bca',
    950: '#000000',
  },
}
SCSS
$custom: #af3bca;
$custom-light: #cb7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bca",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 288.671,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57742,
    "c": 0.22342,
    "h": 319.3
  },
  "luminance": 0.16506
}

Semantic roles & 50–950 ramp

primary
#AF3BCA
secondary
#9DD091
accent
#E14764
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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