#AF4BC5#AF4BC5

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

Color values

HEX#AF4BC5
RGBrgb(175, 75, 197)
HSLhsl(289, 51%, 53%)
HSVhsv(289, 62%, 77%)
CMYKcmyk(11.2%, 61.9%, 0%, 22.7%)
CIE-LABlab(49.71, 58.22, -45.72)
CIE-LCHlch(49.71, 74.02, 321.86°)
OKLaboklab(59.14% 0.152 -0.1275)
OKLCHoklch(59.14% 0.198 320)
XYZxyz(30.2721, 18.1787, 54.7268)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BC5 #61C54B
analogous
#724BC5 #AF4BC5 #C54B9E
triadic
#AF4BC5 #C5AF4B #4BC5AF
tetradic
#AF4BC5 #C5724B #61C54B #4B9EC5
square
#AF4BC5 #C5724B #61C54B #4B9EC5
split-complementary
#AF4BC5 #9EC54B #4BC572
monochromatic
#632471 #8C339F #AF4BC5 #C479D4 #D8A8E3

Accessibility & contrast

On white

4.53
#AF4BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AF4BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BC5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BC5#FFFFFF#000000##000000
##AF4BC51.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6FC9
Deuteranopia (green-blind)
#557AC2
Tritanopia (blue-blind)
#B05F81
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4bc5;
/* rgb */ color: rgb(175, 75, 197);
/* oklch */ color: oklch(59.1% 0.198 320.0);
Tailwind
colors: {
  custom: {
    50: '#ca83d7',
    500: '#af4bc5',
    950: '#000000',
  },
}
SCSS
$custom: #af4bc5;
$custom-light: #ca83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bc5",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 289.18,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59144,
    "c": 0.19845,
    "h": 320
  },
  "luminance": 0.18177
}

Semantic roles & 50–950 ramp

primary
#AF4BC5
secondary
#A5D09C
accent
#DB4D67
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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