#AF4BCB#AF4BCB

#AF4BCB is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.5% C 0.204 H 318.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AF4BCB
RGBrgb(175, 75, 203)
HSLhsl(287, 55%, 55%)
HSVhsv(287, 63%, 80%)
CMYKcmyk(13.8%, 63.1%, 0%, 20.4%)
CIE-LABlab(50.05, 59.38, -48.64)
CIE-LCHlch(50.05, 76.76, 320.68°)
OKLaboklab(59.5% 0.1521 -0.136)
OKLCHoklch(59.5% 0.204 318.2)
XYZxyz(30.9733, 18.4592, 58.4198)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BCB #67CB4B
analogous
#6F4BCB #AF4BCB #CB4BA7
triadic
#AF4BCB #CBAF4B #4BCBAF
tetradic
#AF4BCB #CB6F4B #67CB4B #4BA7CB
square
#AF4BCB #CB6F4B #67CB4B #4BA7CB
split-complementary
#AF4BCB #A7CB4B #4BCB6F
monochromatic
#662379 #8E31A8 #AF4BCB #C47AD9 #D9AAE6

Accessibility & contrast

On white

4.48
#AF4BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AF4BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BCB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BCB#FFFFFF#000000##000000
##AF4BCB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4bcb;
/* rgb */ color: rgb(175, 75, 203);
/* oklch */ color: oklch(59.5% 0.204 318.2);
Tailwind
colors: {
  custom: {
    50: '#ca84db',
    500: '#af4bcb',
    950: '#000000',
  },
}
SCSS
$custom: #af4bcb;
$custom-light: #ca84db;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bcb",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 286.875,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59496,
    "c": 0.20407,
    "h": 318.2
  },
  "luminance": 0.18458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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