#AF4BBF#AF4BBF

#AF4BBF is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.8% C 0.193 H 321.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#AF4BBF
RGBrgb(175, 75, 191)
HSLhsl(292, 48%, 52%)
HSVhsv(292, 61%, 75%)
CMYKcmyk(8.4%, 60.7%, 0%, 25.1%)
CIE-LABlab(49.39, 57.07, -42.77)
CIE-LCHlch(49.39, 71.32, 323.15°)
OKLaboklab(58.8% 0.1519 -0.1189)
OKLCHoklch(58.8% 0.193 321.9)
XYZxyz(29.5982, 17.9092, 51.1779)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BBF #5BBF4B
analogous
#754BBF #AF4BBF #BF4B95
triadic
#AF4BBF #BFAF4B #4BBFAF
tetradic
#AF4BBF #BF754B #5BBF4B #4B95BF
square
#AF4BBF #BF754B #5BBF4B #4B95BF
split-complementary
#AF4BBF #95BF4B #4BBF75
monochromatic
#61266A #8A3697 #AF4BBF #C378CF #D7A5DF

Accessibility & contrast

On white

4.58
#AF4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AF4BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BBF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BBF#FFFFFF#000000##000000
##AF4BBF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#336EC3
Deuteranopia (green-blind)
#5979BC
Tritanopia (blue-blind)
#B15D7E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af4bbf;
/* rgb */ color: rgb(175, 75, 191);
/* oklch */ color: oklch(58.8% 0.193 321.9);
Tailwind
colors: {
  custom: {
    50: '#ca83d3',
    500: '#af4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #af4bbf;
$custom-light: #ca83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bbf",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 291.724,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58801,
    "c": 0.19289,
    "h": 321.9
  },
  "luminance": 0.17908
}

Semantic roles & 50–950 ramp

primary
#AF4BBF
secondary
#A1CC9A
accent
#D75163
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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