#AF2BC0#AF2BC0

#AF2BC0 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.8% C 0.232 H 322.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AF2BC0
RGBrgb(175, 43, 192)
HSLhsl(293, 63%, 46%)
HSVhsv(293, 78%, 75%)
CMYKcmyk(8.9%, 77.6%, 0%, 24.7%)
CIE-LABlab(45.15, 69.34, -50.10)
CIE-LCHlch(45.15, 85.55, 324.15°)
OKLaboklab(55.78% 0.1846 -0.1401)
OKLCHoklch(55.78% 0.232 322.8)
XYZxyz(28.0566, 14.6492, 51.2087)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2BC0 #3CC02B
analogous
#642BC0 #AF2BC0 #C02B86
triadic
#AF2BC0 #C0AF2B #2BC0AF
tetradic
#AF2BC0 #C0642B #3CC02B #2B86C0
square
#AF2BC0 #C0642B #3CC02B #2B86C0
split-complementary
#AF2BC0 #86C02B #2BC064
monochromatic
#54155C #81208E #AF2BC0 #C850D8 #D882E3

Accessibility & contrast

On white

5.34
#AF2BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AF2BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2BC0
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2BC0#FFFFFF#000000##FFFFFF
##AF2BC01.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#B14975
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af2bc0;
/* rgb */ color: rgb(175, 43, 192);
/* oklch */ color: oklch(55.8% 0.232 322.8);
Tailwind
colors: {
  custom: {
    50: '#cb74d4',
    500: '#af2bc0',
    950: '#000000',
  },
}
SCSS
$custom: #af2bc0;
$custom-light: #cb74d4;
$custom-dark: #000000;
JSON
{
  "hex": "#af2bc0",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 293.154,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5578,
    "c": 0.23177,
    "h": 322.8
  },
  "luminance": 0.14647
}

Semantic roles & 50–950 ramp

primary
#AF2BC0
secondary
#84CC7B
accent
#E64154
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140914
muted
#837B83

Preview Lab

Preview with #AF2BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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