#AF3BCC#AF3BCC

#AF3BCC is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.225 H 318.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AF3BCC
RGBrgb(175, 59, 204)
HSLhsl(288, 59%, 52%)
HSVhsv(288, 71%, 80%)
CMYKcmyk(14.2%, 71.1%, 0%, 20%)
CIE-LABlab(47.76, 66.16, -52.88)
CIE-LCHlch(47.76, 84.69, 321.36°)
OKLaboklab(57.87% 0.1694 -0.1483)
OKLCHoklch(57.87% 0.225 318.8)
XYZxyz(30.1408, 16.6029, 58.7321)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BCC #58CC3B
analogous
#673BCC #AF3BCC #CC3BA1
triadic
#AF3BCC #CCAF3B #3BCCAF
tetradic
#AF3BCC #CC673B #58CC3B #3BA1CC
square
#AF3BCC #CC673B #58CC3B #3BA1CC
split-complementary
#AF3BCC #A1CC3B #3BCC67
monochromatic
#5F1D70 #882AA0 #AF3BCC #C36CD9 #D79CE5

Accessibility & contrast

On white

4.86
#AF3BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AF3BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BCC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BCC#FFFFFF#000000##FFFFFF
##AF3BCC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#AF5780
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3bcc;
/* rgb */ color: rgb(175, 59, 204);
/* oklch */ color: oklch(57.9% 0.225 318.8);
Tailwind
colors: {
  custom: {
    50: '#cb7bdc',
    500: '#af3bcc',
    950: '#000000',
  },
}
SCSS
$custom: #af3bcc;
$custom-light: #cb7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bcc",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 288,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57868,
    "c": 0.22515,
    "h": 318.8
  },
  "luminance": 0.16602
}

Semantic roles & 50–950 ramp

primary
#AF3BCC
secondary
#9ED192
accent
#E24665
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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