#AF4FBB#AF4FBB

#AF4FBB is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.183 H 323.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AF4FBB
RGBrgb(175, 79, 187)
HSLhsl(293, 44%, 52%)
HSVhsv(293, 58%, 73%)
CMYKcmyk(6.4%, 57.8%, 0%, 26.7%)
CIE-LABlab(49.85, 54.47, -39.71)
CIE-LCHlch(49.85, 67.41, 323.91°)
OKLaboklab(59.07% 0.1466 -0.1101)
OKLCHoklch(59.07% 0.183 323.1)
XYZxyz(29.4439, 18.2953, 48.9845)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FBB #5BBB4F
analogous
#794FBB #AF4FBB #BB4F91
triadic
#AF4FBB #BBAF4F #4FBBAF
tetradic
#AF4FBB #BB794F #5BBB4F #4F91BB
square
#AF4FBB #BB794F #5BBB4F #4F91BB
split-complementary
#AF4FBB #91BB4F #4FBB79
monochromatic
#612868 #8A3994 #AF4FBB #C37BCC #D7A7DD

Accessibility & contrast

On white

4.51
#AF4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AF4FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4FBB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FBB#FFFFFF#000000##000000
##AF4FBB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBE
Deuteranopia (green-blind)
#5E7AB8
Tritanopia (blue-blind)
#B25E7E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af4fbb;
/* rgb */ color: rgb(175, 79, 187);
/* oklch */ color: oklch(59.1% 0.183 323.1);
Tailwind
colors: {
  custom: {
    50: '#c985d0',
    500: '#af4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #af4fbb;
$custom-light: #c985d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af4fbb",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 293.333,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59073,
    "c": 0.18331,
    "h": 323.1
  },
  "luminance": 0.18294
}

Semantic roles & 50–950 ramp

primary
#AF4FBB
secondary
#A1CA9B
accent
#D45462
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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