#AF3CB7#AF3CB7

#AF3CB7 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.7% C 0.206 H 325.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AF3CB7
RGBrgb(175, 60, 183)
HSLhsl(296, 51%, 48%)
HSVhsv(296, 67%, 72%)
CMYKcmyk(4.4%, 67.2%, 0%, 28.2%)
CIE-LABlab(46.67, 61.95, -42.42)
CIE-LCHlch(46.67, 75.08, 325.60°)
OKLaboklab(56.69% 0.169 -0.1178)
OKLCHoklch(56.69% 0.206 325.1)
XYZxyz(27.8416, 15.7663, 46.3673)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CB7 #44B73C
analogous
#723CB7 #AF3CB7 #B73C81
triadic
#AF3CB7 #B7AF3C #3CB7AF
tetradic
#AF3CB7 #B7723C #44B73C #3C81B7
square
#AF3CB7 #B7723C #44B73C #3C81B7
split-complementary
#AF3CB7 #81B73C #3CB772
monochromatic
#571E5B #832D89 #AF3CB7 #C564CC #D792DB

Accessibility & contrast

On white

5.06
#AF3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF3CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CB7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CB7#FFFFFF#000000##FFFFFF
##AF3CB71.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2266BB
Deuteranopia (green-blind)
#5473B4
Tritanopia (blue-blind)
#B34F75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3cb7;
/* rgb */ color: rgb(175, 60, 183);
/* oklch */ color: oklch(56.7% 0.206 325.1);
Tailwind
colors: {
  custom: {
    50: '#ca7bcd',
    500: '#af3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #af3cb7;
$custom-light: #ca7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cb7",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 296.098,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56694,
    "c": 0.20604,
    "h": 325.1
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#AF3CB7
secondary
#8CC688
accent
#DA4E57
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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