#AF3CB3#AF3CB3

#AF3CB3 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.203 H 326.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AF3CB3
RGBrgb(175, 60, 179)
HSLhsl(298, 50%, 47%)
HSVhsv(298, 66%, 70%)
CMYKcmyk(2.2%, 66.5%, 0%, 29.8%)
CIE-LABlab(46.45, 61.25, -40.42)
CIE-LCHlch(46.45, 73.39, 326.58°)
OKLaboklab(56.47% 0.169 -0.112)
OKLCHoklch(56.47% 0.203 326.5)
XYZxyz(27.4312, 15.6021, 44.2058)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CB3 #40B33C
analogous
#743CB3 #AF3CB3 #B33C7C
triadic
#AF3CB3 #B3AF3C #3CB3AF
tetradic
#AF3CB3 #B3743C #40B33C #3C7CB3
square
#AF3CB3 #B3743C #40B33C #3C7CB3
split-complementary
#AF3CB3 #7CB33C #3CB374
monochromatic
#551D57 #822D85 #AF3CB3 #C762CA #D790DA

Accessibility & contrast

On white

5.10
#AF3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AF3CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CB3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CB3#FFFFFF#000000##FFFFFF
##AF3CB31.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B6
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#B44D73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3cb3;
/* rgb */ color: rgb(175, 60, 179);
/* oklch */ color: oklch(56.5% 0.203 326.5);
Tailwind
colors: {
  custom: {
    50: '#ca7bca',
    500: '#af3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #af3cb3;
$custom-light: #ca7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cb3",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 297.983,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.20271,
    "h": 326.5
  },
  "luminance": 0.156
}

Semantic roles & 50–950 ramp

primary
#AF3CB3
secondary
#88C586
accent
#D94E53
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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