#AF3CBE#AF3CBE

#AF3CBE is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.212 H 322.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AF3CBE
RGBrgb(175, 60, 190)
HSLhsl(293, 52%, 49%)
HSVhsv(293, 68%, 75%)
CMYKcmyk(7.9%, 68.4%, 0%, 25.5%)
CIE-LABlab(47.06, 63.20, -45.88)
CIE-LCHlch(47.06, 78.10, 324.02°)
OKLaboklab(57.1% 0.169 -0.1279)
OKLCHoklch(57.1% 0.212 322.9)
XYZxyz(28.5884, 16.0650, 50.3002)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CBE #4BBE3C
analogous
#6E3CBE #AF3CBE #BE3C8C
triadic
#AF3CBE #BEAF3C #3CBEAF
tetradic
#AF3CBE #BE6E3C #4BBE3C #3C8CBE
square
#AF3CBE #BE6E3C #4BBE3C #3C8CBE
split-complementary
#AF3CBE #8CBE3C #3CBE6E
monochromatic
#591F61 #842D8F #AF3CBE #C368CF #D696DE

Accessibility & contrast

On white

4.99
#AF3CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AF3CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CBE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CBE#FFFFFF#000000##FFFFFF
##AF3CBE1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1567C2
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#B25279
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3cbe;
/* rgb */ color: rgb(175, 60, 190);
/* oklch */ color: oklch(57.1% 0.212 322.9);
Tailwind
colors: {
  custom: {
    50: '#ca7bd2',
    500: '#af3cbe',
    950: '#000000',
  },
}
SCSS
$custom: #af3cbe;
$custom-light: #ca7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cbe",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 293.077,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.21195,
    "h": 322.9
  },
  "luminance": 0.16063
}

Semantic roles & 50–950 ramp

primary
#AF3CBE
secondary
#93CA8C
accent
#DB4C5D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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