#AF3CB8#AF3CB8

#AF3CB8 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.207 H 324.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AF3CB8
RGBrgb(175, 60, 184)
HSLhsl(296, 51%, 48%)
HSVhsv(296, 67%, 72%)
CMYKcmyk(4.9%, 67.4%, 0%, 27.8%)
CIE-LABlab(46.72, 62.13, -42.92)
CIE-LCHlch(46.72, 75.51, 325.36°)
OKLaboklab(56.75% 0.169 -0.1193)
OKLCHoklch(56.75% 0.207 324.8)
XYZxyz(27.9461, 15.8081, 46.9174)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CB8 #45B83C
analogous
#713CB8 #AF3CB8 #B83C83
triadic
#AF3CB8 #B8AF3C #3CB8AF
tetradic
#AF3CB8 #B8713C #45B83C #3C83B8
square
#AF3CB8 #B8713C #45B83C #3C83B8
split-complementary
#AF3CB8 #83B83C #3CB871
monochromatic
#571E5C #832D8A #AF3CB8 #C565CD #D693DC

Accessibility & contrast

On white

5.05
#AF3CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AF3CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CB8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CB8#FFFFFF#000000##FFFFFF
##AF3CB81.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2066BC
Deuteranopia (green-blind)
#5374B5
Tritanopia (blue-blind)
#B34F75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3cb8;
/* rgb */ color: rgb(175, 60, 184);
/* oklch */ color: oklch(56.8% 0.207 324.8);
Tailwind
colors: {
  custom: {
    50: '#ca7bce',
    500: '#af3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #af3cb8;
$custom-light: #ca7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cb8",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 295.645,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56751,
    "c": 0.20688,
    "h": 324.8
  },
  "luminance": 0.15806
}

Semantic roles & 50–950 ramp

primary
#AF3CB8
secondary
#8DC789
accent
#DA4D58
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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