#AF4BBB#AF4BBB

#AF4BBB is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.6% C 0.189 H 323.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AF4BBB
RGBrgb(175, 75, 187)
HSLhsl(294, 45%, 51%)
HSVhsv(294, 60%, 73%)
CMYKcmyk(6.4%, 59.9%, 0%, 26.7%)
CIE-LABlab(49.17, 56.32, -40.78)
CIE-LCHlch(49.17, 69.54, 324.09°)
OKLaboklab(58.58% 0.1516 -0.1132)
OKLCHoklch(58.58% 0.189 323.3)
XYZxyz(29.1641, 17.7355, 48.8912)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BBB #57BB4B
analogous
#774BBB #AF4BBB #BB4B8F
triadic
#AF4BBB #BBAF4B #4BBBAF
tetradic
#AF4BBB #BB774B #57BB4B #4B8FBB
square
#AF4BBB #BB774B #57BB4B #4B8FBB
split-complementary
#AF4BBB #8FBB4B #4BBB77
monochromatic
#5F2665 #883792 #AF4BBB #C377CC #D6A4DD

Accessibility & contrast

On white

4.62
#AF4BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AF4BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4BBB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BBB#FFFFFF#000000##FFFFFF
##AF4BBB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBE
Deuteranopia (green-blind)
#5B79B8
Tritanopia (blue-blind)
#B25B7C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af4bbb;
/* rgb */ color: rgb(175, 75, 187);
/* oklch */ color: oklch(58.6% 0.189 323.3);
Tailwind
colors: {
  custom: {
    50: '#ca83d0',
    500: '#af4bbb',
    950: '#000000',
  },
}
SCSS
$custom: #af4bbb;
$custom-light: #ca83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bbb",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 293.571,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58578,
    "c": 0.18922,
    "h": 323.3
  },
  "luminance": 0.17734
}

Semantic roles & 50–950 ramp

primary
#AF4BBB
secondary
#9ECA98
accent
#D55361
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF4BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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