#AF2CAE#AF2CAE

#AF2CAE is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.217 H 328.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AF2CAE
RGBrgb(175, 44, 174)
HSLhsl(300, 60%, 43%)
HSVhsv(300, 75%, 69%)
CMYKcmyk(0%, 74.9%, 0.6%, 31.4%)
CIE-LABlab(44.19, 66.03, -41.05)
CIE-LCHlch(44.19, 77.75, 328.13°)
OKLaboklab(54.76% 0.1847 -0.1137)
OKLCHoklch(54.76% 0.217 328.4)
XYZxyz(26.2196, 13.9733, 41.3523)
Luminance0.1397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2CAE #2CAF2D
analogous
#6E2CAF #AF2CAE #AF2C6C
triadic
#AF2CAE #AEAF2C #2CAEAF
tetradic
#AF2CAE #AF6E2C #2CAF2D #2C6CAF
square
#AF2CAE #AF6E2C #2CAF2D #2C6CAF
split-complementary
#AF2CAE #6CAF2C #2CAF6E
monochromatic
#4D134D #7E207D #AF2CAE #D147D0 #DD78DC

Accessibility & contrast

On white

5.53
#AF2CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AF2CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2CAE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2CAE#FFFFFF#000000##FFFFFF
##AF2CAE1.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105EB1
Deuteranopia (green-blind)
#516EAB
Tritanopia (blue-blind)
#B5416B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af2cae;
/* rgb */ color: rgb(175, 44, 174);
/* oklch */ color: oklch(54.8% 0.217 328.4);
Tailwind
colors: {
  custom: {
    50: '#cb74c7',
    500: '#af2cae',
    950: '#000000',
  },
}
SCSS
$custom: #af2cae;
$custom-light: #cb74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af2cae",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 300.458,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5476,
    "c": 0.21693,
    "h": 328.4
  },
  "luminance": 0.13971
}

Semantic roles & 50–950 ramp

primary
#AF2CAE
secondary
#72C572
accent
#E34645
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF2CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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