#AF4ACB#AF4ACB

#AF4ACB is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.4% C 0.205 H 318.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AF4ACB
RGBrgb(175, 74, 203)
HSLhsl(287, 55%, 54%)
HSVhsv(287, 64%, 80%)
CMYKcmyk(13.8%, 63.5%, 0%, 20.4%)
CIE-LABlab(49.89, 59.83, -48.90)
CIE-LCHlch(49.89, 77.27, 320.74°)
OKLaboklab(59.38% 0.1533 -0.1368)
OKLCHoklch(59.38% 0.205 318.2)
XYZxyz(30.9060, 18.3246, 58.3974)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ACB #66CB4A
analogous
#6F4ACB #AF4ACB #CB4AA7
triadic
#AF4ACB #CBAF4A #4ACBAF
tetradic
#AF4ACB #CB6F4A #66CB4A #4AA7CB
square
#AF4ACB #CB6F4A #66CB4A #4AA7CB
split-complementary
#AF4ACB #A7CB4A #4ACB6F
monochromatic
#662378 #8E30A8 #AF4ACB #C47AD9 #D9A9E6

Accessibility & contrast

On white

4.50
#AF4ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AF4ACB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4ACB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ACB#FFFFFF#000000##000000
##AF4ACB1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2170CF
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#AF6184
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af4acb;
/* rgb */ color: rgb(175, 74, 203);
/* oklch */ color: oklch(59.4% 0.205 318.2);
Tailwind
colors: {
  custom: {
    50: '#ca83db',
    500: '#af4acb',
    950: '#000000',
  },
}
SCSS
$custom: #af4acb;
$custom-light: #ca83db;
$custom-dark: #000000;
JSON
{
  "hex": "#af4acb",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 286.977,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5938,
    "c": 0.20544,
    "h": 318.2
  },
  "luminance": 0.18323
}

Semantic roles & 50–950 ramp

primary
#AF4ACB
secondary
#A9D49D
accent
#DF496A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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