#AF3CB6#AF3CB6

#AF3CB6 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.6% C 0.205 H 325.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AF3CB6
RGBrgb(175, 60, 182)
HSLhsl(297, 50%, 47%)
HSVhsv(297, 67%, 71%)
CMYKcmyk(3.8%, 67%, 0%, 28.6%)
CIE-LABlab(46.61, 61.77, -41.93)
CIE-LCHlch(46.61, 74.66, 325.84°)
OKLaboklab(56.64% 0.169 -0.1164)
OKLCHoklch(56.64% 0.205 325.4)
XYZxyz(27.7379, 15.7248, 45.8211)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CB6 #43B63C
analogous
#723CB6 #AF3CB6 #B63C80
triadic
#AF3CB6 #B6AF3C #3CB6AF
tetradic
#AF3CB6 #B6723C #43B63C #3C80B6
square
#AF3CB6 #B6723C #43B63C #3C80B6
split-complementary
#AF3CB6 #80B63C #3CB672
monochromatic
#561E5A #832D88 #AF3CB6 #C663CC #D791DB

Accessibility & contrast

On white

5.07
#AF3CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AF3CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CB6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CB6#FFFFFF#000000##FFFFFF
##AF3CB61.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2365BA
Deuteranopia (green-blind)
#5473B3
Tritanopia (blue-blind)
#B34F74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3cb6;
/* rgb */ color: rgb(175, 60, 182);
/* oklch */ color: oklch(56.6% 0.205 325.4);
Tailwind
colors: {
  custom: {
    50: '#ca7bcc',
    500: '#af3cb6',
    950: '#000000',
  },
}
SCSS
$custom: #af3cb6;
$custom-light: #ca7bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cb6",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 296.557,
    "s": 50.413,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56636,
    "c": 0.2052,
    "h": 325.4
  },
  "luminance": 0.15723
}

Semantic roles & 50–950 ramp

primary
#AF3CB6
secondary
#8BC688
accent
#DA4E56
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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