#AF4BC9#AF4BC9

#AF4BC9 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.4% C 0.202 H 318.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF4BC9
RGBrgb(175, 75, 201)
HSLhsl(288, 54%, 54%)
HSVhsv(288, 63%, 79%)
CMYKcmyk(12.9%, 62.7%, 0%, 21.2%)
CIE-LABlab(49.94, 58.99, -47.67)
CIE-LCHlch(49.94, 75.85, 321.06°)
OKLaboklab(59.38% 0.1521 -0.1332)
OKLCHoklch(59.38% 0.202 318.8)
XYZxyz(30.7365, 18.3645, 57.1727)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BC9 #65C94B
analogous
#704BC9 #AF4BC9 #C94BA4
triadic
#AF4BC9 #C9AF4B #4BC9AF
tetradic
#AF4BC9 #C9704B #65C94B #4BA4C9
square
#AF4BC9 #C9704B #65C94B #4BA4C9
split-complementary
#AF4BC9 #A4C94B #4BC970
monochromatic
#652376 #8D32A5 #AF4BC9 #C47AD7 #D9A9E5

Accessibility & contrast

On white

4.49
#AF4BC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#AF4BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BC9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BC9#FFFFFF#000000##000000
##AF4BC91.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2670CD
Deuteranopia (green-blind)
#527AC6
Tritanopia (blue-blind)
#AF6083
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af4bc9;
/* rgb */ color: rgb(175, 75, 201);
/* oklch */ color: oklch(59.4% 0.202 318.8);
Tailwind
colors: {
  custom: {
    50: '#ca84da',
    500: '#af4bc9',
    950: '#000000',
  },
}
SCSS
$custom: #af4bc9;
$custom-light: #ca84da;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bc9",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 287.619,
    "s": 53.846,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59378,
    "c": 0.20219,
    "h": 318.8
  },
  "luminance": 0.18363
}

Semantic roles & 50–950 ramp

primary
#AF4BC9
secondary
#A8D39D
accent
#DD4B69
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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