#AF3CCB#AF3CCB

#AF3CCB is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.9% C 0.223 H 319.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AF3CCB
RGBrgb(175, 60, 203)
HSLhsl(288, 58%, 52%)
HSVhsv(288, 70%, 80%)
CMYKcmyk(13.8%, 70.4%, 0%, 20.4%)
CIE-LABlab(47.83, 65.59, -52.19)
CIE-LCHlch(47.83, 83.82, 321.49°)
OKLaboklab(57.9% 0.1684 -0.1463)
OKLCHoklch(57.9% 0.223 319)
XYZxyz(30.0731, 16.6589, 58.1197)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CCB #58CB3C
analogous
#683CCB #AF3CCB #CB3CA0
triadic
#AF3CCB #CBAF3C #3CCBAF
tetradic
#AF3CCB #CB683C #58CB3C #3CA0CB
square
#AF3CCB #CB683C #58CB3C #3CA0CB
split-complementary
#AF3CCB #A0CB3C #3CCB68
monochromatic
#5F1E6F #882A9F #AF3CCB #C36CD8 #D79DE5

Accessibility & contrast

On white

4.85
#AF3CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AF3CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CCB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CCB#FFFFFF#000000##FFFFFF
##AF3CCB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#AF5880
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3ccb;
/* rgb */ color: rgb(175, 60, 203);
/* oklch */ color: oklch(57.9% 0.223 319.0);
Tailwind
colors: {
  custom: {
    50: '#cb7cdb',
    500: '#af3ccb',
    950: '#000000',
  },
}
SCSS
$custom: #af3ccb;
$custom-light: #cb7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ccb",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 288.252,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57899,
    "c": 0.22313,
    "h": 319
  },
  "luminance": 0.16657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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