#AF3CBA#AF3CBA

#AF3CBA is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.209 H 324.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AF3CBA
RGBrgb(175, 60, 186)
HSLhsl(295, 51%, 48%)
HSVhsv(295, 68%, 73%)
CMYKcmyk(5.9%, 67.7%, 0%, 27.1%)
CIE-LABlab(46.83, 62.48, -43.91)
CIE-LCHlch(46.83, 76.37, 324.90°)
OKLaboklab(56.87% 0.169 -0.1222)
OKLCHoklch(56.87% 0.209 324.1)
XYZxyz(28.1572, 15.8925, 48.0293)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CBA #47BA3C
analogous
#703CBA #AF3CBA #BA3C86
triadic
#AF3CBA #BAAF3C #3CBAAF
tetradic
#AF3CBA #BA703C #47BA3C #3C86BA
square
#AF3CBA #BA703C #47BA3C #3C86BA
split-complementary
#AF3CBA #86BA3C #3CBA70
monochromatic
#581E5D #832D8C #AF3CBA #C466CE #D694DC

Accessibility & contrast

On white

5.03
#AF3CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AF3CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CBA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CBA#FFFFFF#000000##FFFFFF
##AF3CBA1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BE
Deuteranopia (green-blind)
#5274B7
Tritanopia (blue-blind)
#B25076
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3cba;
/* rgb */ color: rgb(175, 60, 186);
/* oklch */ color: oklch(56.9% 0.209 324.1);
Tailwind
colors: {
  custom: {
    50: '#ca7bcf',
    500: '#af3cba',
    950: '#000000',
  },
}
SCSS
$custom: #af3cba;
$custom-light: #ca7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cba",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 294.762,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56868,
    "c": 0.20856,
    "h": 324.1
  },
  "luminance": 0.15891
}

Semantic roles & 50–950 ramp

primary
#AF3CBA
secondary
#8FC88A
accent
#DB4D59
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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