#AF4BC4#AF4BC4

#AF4BC4 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.1% C 0.198 H 320.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AF4BC4
RGBrgb(175, 75, 196)
HSLhsl(290, 51%, 53%)
HSVhsv(290, 62%, 77%)
CMYKcmyk(10.7%, 61.7%, 0%, 23.1%)
CIE-LABlab(49.66, 58.02, -45.23)
CIE-LCHlch(49.66, 73.57, 322.06°)
OKLaboklab(59.09% 0.152 -0.1261)
OKLCHoklch(59.09% 0.198 320.3)
XYZxyz(30.1579, 18.1330, 54.1253)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BC4 #60C44B
analogous
#724BC4 #AF4BC4 #C44B9C
triadic
#AF4BC4 #C4AF4B #4BC4AF
tetradic
#AF4BC4 #C4724B #60C44B #4B9CC4
square
#AF4BC4 #C4724B #60C44B #4B9CC4
split-complementary
#AF4BC4 #9CC44B #4BC472
monochromatic
#632570 #8C349E #AF4BC4 #C379D3 #D8A7E2

Accessibility & contrast

On white

4.54
#AF4BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AF4BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BC4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BC4#FFFFFF#000000##000000
##AF4BC41.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6FC8
Deuteranopia (green-blind)
#567AC1
Tritanopia (blue-blind)
#B05F81
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4bc4;
/* rgb */ color: rgb(175, 75, 196);
/* oklch */ color: oklch(59.1% 0.198 320.3);
Tailwind
colors: {
  custom: {
    50: '#ca83d6',
    500: '#af4bc4',
    950: '#000000',
  },
}
SCSS
$custom: #af4bc4;
$custom-light: #ca83d6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bc4",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 289.587,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59086,
    "c": 0.19752,
    "h": 320.3
  },
  "luminance": 0.18132
}

Semantic roles & 50–950 ramp

primary
#AF4BC4
secondary
#A4CF9B
accent
#DA4E66
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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