#AF3BCF#AF3BCF

#AF3BCF is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.1% C 0.228 H 318.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF3BCF
RGBrgb(175, 59, 207)
HSLhsl(287, 61%, 52%)
HSVhsv(287, 71%, 81%)
CMYKcmyk(15.5%, 71.5%, 0%, 18.8%)
CIE-LABlab(47.94, 66.72, -54.31)
CIE-LCHlch(47.94, 86.03, 320.85°)
OKLaboklab(58.06% 0.1691 -0.1525)
OKLCHoklch(58.06% 0.228 318)
XYZxyz(30.5041, 16.7482, 60.6453)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BCF #5BCF3B
analogous
#653BCF #AF3BCF #CF3BA5
triadic
#AF3BCF #CFAF3B #3BCFAF
tetradic
#AF3BCF #CF653B #5BCF3B #3BA5CF
square
#AF3BCF #CF653B #5BCF3B #3BA5CF
split-complementary
#AF3BCF #A5CF3B #3BCF65
monochromatic
#611C73 #8A28A5 #AF3BCF #C36CDB #D79DE7

Accessibility & contrast

On white

4.83
#AF3BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AF3BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BCF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BCF#FFFFFF#000000##FFFFFF
##AF3BCF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#4175CC
Tritanopia (blue-blind)
#AE5982
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3bcf;
/* rgb */ color: rgb(175, 59, 207);
/* oklch */ color: oklch(58.1% 0.228 318.0);
Tailwind
colors: {
  custom: {
    50: '#cb7bde',
    500: '#af3bcf',
    950: '#000000',
  },
}
SCSS
$custom: #af3bcf;
$custom-light: #cb7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bcf",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 207
  },
  "hsl": {
    "h": 287.027,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58059,
    "c": 0.22775,
    "h": 318
  },
  "luminance": 0.16747
}

Semantic roles & 50–950 ramp

primary
#AF3BCF
secondary
#A1D393
accent
#E44467
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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