#AF4BC1#AF4BC1

#AF4BC1 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.195 H 321.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AF4BC1
RGBrgb(175, 75, 193)
HSLhsl(291, 49%, 53%)
HSVhsv(291, 61%, 76%)
CMYKcmyk(9.3%, 61.1%, 0%, 24.3%)
CIE-LABlab(49.49, 57.45, -43.76)
CIE-LCHlch(49.49, 72.22, 322.71°)
OKLaboklab(58.91% 0.1519 -0.1218)
OKLCHoklch(58.91% 0.195 321.3)
XYZxyz(29.8198, 17.9978, 52.3449)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BC1 #5DC14B
analogous
#744BC1 #AF4BC1 #C14B98
triadic
#AF4BC1 #C1AF4B #4BC1AF
tetradic
#AF4BC1 #C1744B #5DC14B #4B98C1
square
#AF4BC1 #C1744B #5DC14B #4B98C1
split-complementary
#AF4BC1 #98C14B #4BC174
monochromatic
#61256C #8A359A #AF4BC1 #C379D1 #D7A6E0

Accessibility & contrast

On white

4.57
#AF4BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AF4BC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BC1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BC1#FFFFFF#000000##000000
##AF4BC11.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#306EC5
Deuteranopia (green-blind)
#5879BE
Tritanopia (blue-blind)
#B15D7F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4bc1;
/* rgb */ color: rgb(175, 75, 193);
/* oklch */ color: oklch(58.9% 0.195 321.3);
Tailwind
colors: {
  custom: {
    50: '#ca83d4',
    500: '#af4bc1',
    950: '#000000',
  },
}
SCSS
$custom: #af4bc1;
$custom-light: #ca83d4;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bc1",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 290.847,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.19474,
    "h": 321.3
  },
  "luminance": 0.17996
}

Semantic roles & 50–950 ramp

primary
#AF4BC1
secondary
#A2CE9A
accent
#D84F64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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