#AF3CB2#AF3CB2

#AF3CB2 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.4% C 0.202 H 326.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AF3CB2
RGBrgb(175, 60, 178)
HSLhsl(298, 50%, 47%)
HSVhsv(298, 66%, 70%)
CMYKcmyk(1.7%, 66.3%, 0%, 30.2%)
CIE-LABlab(46.39, 61.08, -39.92)
CIE-LCHlch(46.39, 72.97, 326.83°)
OKLaboklab(56.41% 0.1689 -0.1106)
OKLCHoklch(56.41% 0.202 326.8)
XYZxyz(27.3305, 15.5618, 43.6751)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CB2 #3FB23C
analogous
#743CB2 #AF3CB2 #B23C7A
triadic
#AF3CB2 #B2AF3C #3CB2AF
tetradic
#AF3CB2 #B2743C #3FB23C #3C7AB2
square
#AF3CB2 #B2743C #3FB23C #3C7AB2
split-complementary
#AF3CB2 #7AB23C #3CB274
monochromatic
#551D56 #822D84 #AF3CB2 #C761CA #D78FD9

Accessibility & contrast

On white

5.11
#AF3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AF3CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CB2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CB2#FFFFFF#000000##FFFFFF
##AF3CB21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2865B5
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#B44D72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3cb2;
/* rgb */ color: rgb(175, 60, 178);
/* oklch */ color: oklch(56.4% 0.202 326.8);
Tailwind
colors: {
  custom: {
    50: '#ca7bc9',
    500: '#af3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #af3cb2;
$custom-light: #ca7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cb2",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 298.475,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5641,
    "c": 0.20188,
    "h": 326.8
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

primary
#AF3CB2
secondary
#87C486
accent
#D94F52
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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