#AF4BC2#AF4BC2

#AF4BC2 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 59.0% C 0.196 H 321.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF4BC2
RGBrgb(175, 75, 194)
HSLhsl(290, 49%, 53%)
HSVhsv(290, 61%, 76%)
CMYKcmyk(9.8%, 61.3%, 0%, 23.9%)
CIE-LABlab(49.55, 57.64, -44.25)
CIE-LCHlch(49.55, 72.67, 322.49°)
OKLaboklab(58.97% 0.152 -0.1232)
OKLCHoklch(58.97% 0.196 321)
XYZxyz(29.9318, 18.0426, 52.9344)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BC2 #5EC24B
analogous
#734BC2 #AF4BC2 #C24B9A
triadic
#AF4BC2 #C2AF4B #4BC2AF
tetradic
#AF4BC2 #C2734B #5EC24B #4B9AC2
square
#AF4BC2 #C2734B #5EC24B #4B9AC2
split-complementary
#AF4BC2 #9AC24B #4BC273
monochromatic
#62256D #8B359B #AF4BC2 #C379D1 #D8A6E1

Accessibility & contrast

On white

4.56
#AF4BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AF4BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BC2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BC2#FFFFFF#000000##000000
##AF4BC21.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6FC6
Deuteranopia (green-blind)
#577ABF
Tritanopia (blue-blind)
#B05E80
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4bc2;
/* rgb */ color: rgb(175, 75, 194);
/* oklch */ color: oklch(59.0% 0.196 321.0);
Tailwind
colors: {
  custom: {
    50: '#ca83d5',
    500: '#af4bc2',
    950: '#000000',
  },
}
SCSS
$custom: #af4bc2;
$custom-light: #ca83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bc2",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 290.42,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58971,
    "c": 0.19566,
    "h": 321
  },
  "luminance": 0.18041
}

Semantic roles & 50–950 ramp

primary
#AF4BC2
secondary
#A3CE9B
accent
#D94F65
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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