#AF3CB9#AF3CB9

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

Color values

HEX#AF3CB9
RGBrgb(175, 60, 185)
HSLhsl(295, 51%, 48%)
HSVhsv(295, 68%, 73%)
CMYKcmyk(5.4%, 67.6%, 0%, 27.5%)
CIE-LABlab(46.78, 62.30, -43.42)
CIE-LCHlch(46.78, 75.94, 325.13°)
OKLaboklab(56.81% 0.169 -0.1207)
OKLCHoklch(56.81% 0.208 324.5)
XYZxyz(28.0513, 15.8502, 47.4714)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CB9 #46B93C
analogous
#703CB9 #AF3CB9 #B93C84
triadic
#AF3CB9 #B9AF3C #3CB9AF
tetradic
#AF3CB9 #B9703C #46B93C #3C84B9
square
#AF3CB9 #B9703C #46B93C #3C84B9
split-complementary
#AF3CB9 #84B93C #3CB970
monochromatic
#581E5D #832D8B #AF3CB9 #C565CD #D693DC

Accessibility & contrast

On white

5.04
#AF3CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AF3CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CB9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CB9#FFFFFF#000000##FFFFFF
##AF3CB91.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F66BD
Deuteranopia (green-blind)
#5374B6
Tritanopia (blue-blind)
#B35076
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3cb9;
/* rgb */ color: rgb(175, 60, 185);
/* oklch */ color: oklch(56.8% 0.208 324.5);
Tailwind
colors: {
  custom: {
    50: '#ca7bce',
    500: '#af3cb9',
    950: '#000000',
  },
}
SCSS
$custom: #af3cb9;
$custom-light: #ca7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cb9",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 295.2,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56809,
    "c": 0.20772,
    "h": 324.5
  },
  "luminance": 0.15848
}

Semantic roles & 50–950 ramp

primary
#AF3CB9
secondary
#8EC789
accent
#DA4D59
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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