#AF3CBC#AF3CBC

#AF3CBC is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.210 H 323.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AF3CBC
RGBrgb(175, 60, 188)
HSLhsl(294, 52%, 49%)
HSVhsv(294, 68%, 74%)
CMYKcmyk(6.9%, 68.1%, 0%, 26.3%)
CIE-LABlab(46.95, 62.84, -44.90)
CIE-LCHlch(46.95, 77.23, 324.45°)
OKLaboklab(56.99% 0.169 -0.125)
OKLCHoklch(56.99% 0.21 323.5)
XYZxyz(28.3713, 15.9782, 49.1569)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CBC #49BC3C
analogous
#6F3CBC #AF3CBC #BC3C89
triadic
#AF3CBC #BCAF3C #3CBCAF
tetradic
#AF3CBC #BC6F3C #49BC3C #3C89BC
square
#AF3CBC #BC6F3C #49BC3C #3C89BC
split-complementary
#AF3CBC #89BC3C #3CBC6F
monochromatic
#591E5F #842D8E #AF3CBC #C467CE #D695DD

Accessibility & contrast

On white

5.01
#AF3CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AF3CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CBC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CBC#FFFFFF#000000##FFFFFF
##AF3CBC1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1967C0
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#B25177
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3cbc;
/* rgb */ color: rgb(175, 60, 188);
/* oklch */ color: oklch(57.0% 0.210 323.5);
Tailwind
colors: {
  custom: {
    50: '#ca7bd1',
    500: '#af3cbc',
    950: '#000000',
  },
}
SCSS
$custom: #af3cbc;
$custom-light: #ca7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cbc",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 188
  },
  "hsl": {
    "h": 293.906,
    "s": 51.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56985,
    "c": 0.21025,
    "h": 323.5
  },
  "luminance": 0.15977
}

Semantic roles & 50–950 ramp

primary
#AF3CBC
secondary
#91C98B
accent
#DB4D5B
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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