#AF3BCB#AF3BCB

#AF3BCB is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.8% C 0.224 H 319.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AF3BCB
RGBrgb(175, 59, 203)
HSLhsl(288, 58%, 51%)
HSVhsv(288, 71%, 80%)
CMYKcmyk(13.8%, 70.9%, 0%, 20.4%)
CIE-LABlab(47.69, 65.97, -52.40)
CIE-LCHlch(47.69, 84.25, 321.54°)
OKLaboklab(57.8% 0.1694 -0.1469)
OKLCHoklch(57.8% 0.224 319.1)
XYZxyz(30.0212, 16.5551, 58.1024)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BCB #57CB3B
analogous
#673BCB #AF3BCB #CB3B9F
triadic
#AF3BCB #CBAF3B #3BCBAF
tetradic
#AF3BCB #CB673B #57CB3B #3B9FCB
square
#AF3BCB #CB673B #57CB3B #3B9FCB
split-complementary
#AF3BCB #9FCB3B #3BCB67
monochromatic
#5F1D6E #882A9F #AF3BCB #C36BD8 #D69CE5

Accessibility & contrast

On white

4.87
#AF3BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AF3BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BCB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BCB#FFFFFF#000000##FFFFFF
##AF3BCB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3bcb;
/* rgb */ color: rgb(175, 59, 203);
/* oklch */ color: oklch(57.8% 0.224 319.1);
Tailwind
colors: {
  custom: {
    50: '#cb7bdb',
    500: '#af3bcb',
    950: '#000000',
  },
}
SCSS
$custom: #af3bcb;
$custom-light: #cb7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bcb",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 288.333,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57805,
    "c": 0.22428,
    "h": 319.1
  },
  "luminance": 0.16554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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