#AF4ABA#AF4ABA

#AF4ABA is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.4% C 0.190 H 323.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AF4ABA
RGBrgb(175, 74, 186)
HSLhsl(294, 45%, 51%)
HSVhsv(294, 60%, 73%)
CMYKcmyk(5.9%, 60.2%, 0%, 27.1%)
CIE-LABlab(48.96, 56.59, -40.55)
CIE-LCHlch(48.96, 69.61, 324.38°)
OKLaboklab(58.4% 0.1528 -0.1125)
OKLCHoklch(58.4% 0.19 323.6)
XYZxyz(28.9901, 17.5583, 48.3069)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ABA #55BA4A
analogous
#774ABA #AF4ABA #BA4A8D
triadic
#AF4ABA #BAAF4A #4ABAAF
tetradic
#AF4ABA #BA774A #55BA4A #4A8DBA
square
#AF4ABA #BA774A #55BA4A #4A8DBA
split-complementary
#AF4ABA #8DBA4A #4ABA77
monochromatic
#5E2664 #873790 #AF4ABA #C376CB #D6A3DC

Accessibility & contrast

On white

4.65
#AF4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AF4ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4ABA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ABA#FFFFFF#000000##FFFFFF
##AF4ABA1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBD
Deuteranopia (green-blind)
#5B78B7
Tritanopia (blue-blind)
#B25A7B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af4aba;
/* rgb */ color: rgb(175, 74, 186);
/* oklch */ color: oklch(58.4% 0.190 323.6);
Tailwind
colors: {
  custom: {
    50: '#ca83cf',
    500: '#af4aba',
    950: '#000000',
  },
}
SCSS
$custom: #af4aba;
$custom-light: #ca83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af4aba",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 294.107,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58403,
    "c": 0.18975,
    "h": 323.6
  },
  "luminance": 0.17557
}

Semantic roles & 50–950 ramp

primary
#AF4ABA
secondary
#9CC997
accent
#D55360
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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