#AF4BBD#AF4BBD

#AF4BBD is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.7% C 0.191 H 322.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AF4BBD
RGBrgb(175, 75, 189)
HSLhsl(293, 46%, 52%)
HSVhsv(293, 60%, 74%)
CMYKcmyk(7.4%, 60.3%, 0%, 25.9%)
CIE-LABlab(49.28, 56.69, -41.78)
CIE-LCHlch(49.28, 70.42, 323.61°)
OKLaboklab(58.69% 0.1518 -0.1161)
OKLCHoklch(58.69% 0.191 322.6)
XYZxyz(29.3797, 17.8218, 50.0267)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BBD #59BD4B
analogous
#764BBD #AF4BBD #BD4B92
triadic
#AF4BBD #BDAF4B #4BBDAF
tetradic
#AF4BBD #BD764B #59BD4B #4B92BD
square
#AF4BBD #BD764B #59BD4B #4B92BD
split-complementary
#AF4BBD #92BD4B #4BBD76
monochromatic
#602668 #893694 #AF4BBD #C378CD #D7A5DE

Accessibility & contrast

On white

4.60
#AF4BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AF4BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4BBD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BBD#FFFFFF#000000##FFFFFF
##AF4BBD1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC1
Deuteranopia (green-blind)
#5A79BA
Tritanopia (blue-blind)
#B15C7D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af4bbd;
/* rgb */ color: rgb(175, 75, 189);
/* oklch */ color: oklch(58.7% 0.191 322.6);
Tailwind
colors: {
  custom: {
    50: '#ca83d1',
    500: '#af4bbd',
    950: '#000000',
  },
}
SCSS
$custom: #af4bbd;
$custom-light: #ca83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bbd",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 292.632,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58689,
    "c": 0.19104,
    "h": 322.6
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#AF4BBD
secondary
#9FCB99
accent
#D65262
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF4BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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