#AF4BC6#AF4BC6

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

Color values

HEX#AF4BC6
RGBrgb(175, 75, 198)
HSLhsl(289, 52%, 54%)
HSVhsv(289, 62%, 78%)
CMYKcmyk(11.6%, 62.1%, 0%, 22.4%)
CIE-LABlab(49.77, 58.41, -46.21)
CIE-LCHlch(49.77, 74.48, 321.65°)
OKLaboklab(59.2% 0.1521 -0.129)
OKLCHoklch(59.2% 0.199 319.7)
XYZxyz(30.3870, 18.2247, 55.3322)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BC6 #62C64B
analogous
#714BC6 #AF4BC6 #C64BA0
triadic
#AF4BC6 #C6AF4B #4BC6AF
tetradic
#AF4BC6 #C6714B #62C64B #4BA0C6
square
#AF4BC6 #C6714B #62C64B #4BA0C6
split-complementary
#AF4BC6 #A0C64B #4BC671
monochromatic
#642472 #8C33A1 #AF4BC6 #C479D5 #D8A8E3

Accessibility & contrast

On white

4.52
#AF4BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4BC6#FFFFFF#000000##000000
##AF4BC61.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6FCA
Deuteranopia (green-blind)
#547AC3
Tritanopia (blue-blind)
#B05F82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4bc6;
/* rgb */ color: rgb(175, 75, 198);
/* oklch */ color: oklch(59.2% 0.199 319.7);
Tailwind
colors: {
  custom: {
    50: '#ca83d8',
    500: '#af4bc6',
    950: '#000000',
  },
}
SCSS
$custom: #af4bc6;
$custom-light: #ca83d8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bc6",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 198
  },
  "hsl": {
    "h": 288.78,
    "s": 51.899,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59202,
    "c": 0.19938,
    "h": 319.7
  },
  "luminance": 0.18223
}

Semantic roles & 50–950 ramp

primary
#AF4BC6
secondary
#A6D19C
accent
#DB4C67
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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