#AF3BC0#AF3BC0

#AF3BC0 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.215 H 322.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AF3BC0
RGBrgb(175, 59, 192)
HSLhsl(292, 53%, 49%)
HSVhsv(292, 69%, 75%)
CMYKcmyk(8.9%, 69.3%, 0%, 24.7%)
CIE-LABlab(47.04, 63.94, -47.08)
CIE-LCHlch(47.04, 79.41, 323.64°)
OKLaboklab(57.13% 0.17 -0.1314)
OKLCHoklch(57.13% 0.215 322.3)
XYZxyz(28.7566, 16.0493, 51.4421)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BC0 #4CC03B
analogous
#6D3BC0 #AF3BC0 #C03B8F
triadic
#AF3BC0 #C0AF3B #3BC0AF
tetradic
#AF3BC0 #C06D3B #4CC03B #3B8FC0
square
#AF3BC0 #C06D3B #4CC03B #3B8FC0
split-complementary
#AF3BC0 #8FC03B #3BC06D
monochromatic
#5A1E62 #842D91 #AF3BC0 #C368D1 #D697DF

Accessibility & contrast

On white

4.99
#AF3BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AF3BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BC0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BC0#FFFFFF#000000##FFFFFF
##AF3BC01.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B67C4
Deuteranopia (green-blind)
#4D74BD
Tritanopia (blue-blind)
#B15279
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3bc0;
/* rgb */ color: rgb(175, 59, 192);
/* oklch */ color: oklch(57.1% 0.215 322.3);
Tailwind
colors: {
  custom: {
    50: '#ca7bd4',
    500: '#af3bc0',
    950: '#000000',
  },
}
SCSS
$custom: #af3bc0;
$custom-light: #ca7bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bc0",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 192
  },
  "hsl": {
    "h": 292.331,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57126,
    "c": 0.21486,
    "h": 322.3
  },
  "luminance": 0.16048
}

Semantic roles & 50–950 ramp

primary
#AF3BC0
secondary
#94CA8C
accent
#DC4B5E
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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