#AF4BBA#AF4BBA

#AF4BBA is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.5% C 0.188 H 323.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AF4BBA
RGBrgb(175, 75, 186)
HSLhsl(294, 45%, 51%)
HSVhsv(294, 60%, 73%)
CMYKcmyk(5.9%, 59.7%, 0%, 27.1%)
CIE-LABlab(49.12, 56.13, -40.28)
CIE-LCHlch(49.12, 69.09, 324.33°)
OKLaboklab(58.52% 0.1516 -0.1117)
OKLCHoklch(58.52% 0.188 323.6)
XYZxyz(29.0574, 17.6928, 48.3294)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BBA #56BA4B
analogous
#774BBA #AF4BBA #BA4B8D
triadic
#AF4BBA #BAAF4B #4BBAAF
tetradic
#AF4BBA #BA774B #56BA4B #4B8DBA
square
#AF4BBA #BA774B #56BA4B #4B8DBA
split-complementary
#AF4BBA #8DBA4B #4BBA77
monochromatic
#5E2664 #883790 #AF4BBA #C377CB #D6A3DC

Accessibility & contrast

On white

4.63
#AF4BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AF4BBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4BBA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BBA#FFFFFF#000000##FFFFFF
##AF4BBA1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBD
Deuteranopia (green-blind)
#5C79B7
Tritanopia (blue-blind)
#B25B7C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af4bba;
/* rgb */ color: rgb(175, 75, 186);
/* oklch */ color: oklch(58.5% 0.188 323.6);
Tailwind
colors: {
  custom: {
    50: '#ca83cf',
    500: '#af4bba',
    950: '#000000',
  },
}
SCSS
$custom: #af4bba;
$custom-light: #ca83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bba",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 294.054,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58523,
    "c": 0.18831,
    "h": 323.6
  },
  "luminance": 0.17691
}

Semantic roles & 50–950 ramp

primary
#AF4BBA
secondary
#9DC998
accent
#D45460
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF4BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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