#AF4BC3#AF4BC3

#AF4BC3 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.0% C 0.197 H 320.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AF4BC3
RGBrgb(175, 75, 195)
HSLhsl(290, 50%, 53%)
HSVhsv(290, 62%, 76%)
CMYKcmyk(10.3%, 61.5%, 0%, 23.5%)
CIE-LABlab(49.60, 57.83, -44.74)
CIE-LCHlch(49.60, 73.12, 322.27°)
OKLaboklab(59.03% 0.152 -0.1247)
OKLCHoklch(59.03% 0.197 320.6)
XYZxyz(30.0444, 18.0877, 53.5279)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BC3 #5FC34B
analogous
#734BC3 #AF4BC3 #C34B9B
triadic
#AF4BC3 #C3AF4B #4BC3AF
tetradic
#AF4BC3 #C3734B #5FC34B #4B9BC3
square
#AF4BC3 #C3734B #5FC34B #4B9BC3
split-complementary
#AF4BC3 #9BC34B #4BC373
monochromatic
#62256F #8B349D #AF4BC3 #C379D2 #D8A7E2

Accessibility & contrast

On white

4.55
#AF4BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AF4BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BC3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BC3#FFFFFF#000000##000000
##AF4BC31.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6FC7
Deuteranopia (green-blind)
#567AC0
Tritanopia (blue-blind)
#B05E80
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4bc3;
/* rgb */ color: rgb(175, 75, 195);
/* oklch */ color: oklch(59.0% 0.197 320.6);
Tailwind
colors: {
  custom: {
    50: '#ca83d6',
    500: '#af4bc3',
    950: '#000000',
  },
}
SCSS
$custom: #af4bc3;
$custom-light: #ca83d6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bc3",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 290,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59029,
    "c": 0.19659,
    "h": 320.6
  },
  "luminance": 0.18086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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