#B172CB#B172CB

#B172CB is a light, vivid purple. Relative luminance 0.257; OKLCH L 65.2% C 0.144 H 315.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B172CB
RGBrgb(177, 114, 203)
HSLhsl(282, 46%, 62%)
HSVhsv(282, 44%, 80%)
CMYKcmyk(12.8%, 43.8%, 0%, 20.4%)
CIE-LABlab(57.75, 40.26, -36.46)
CIE-LCHlch(57.75, 54.32, 317.83°)
OKLaboklab(65.22% 0.1026 -0.1009)
OKLCHoklch(65.22% 0.144 315.5)
XYZxyz(34.9266, 25.6944, 59.6080)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B172CB #8CCB72
analogous
#8572CB #B172CB #CB72B9
triadic
#B172CB #CBB172 #72CBB1
tetradic
#B172CB #CB8572 #8CCB72 #72B9CB
square
#B172CB #CB8572 #8CCB72 #72B9CB
split-complementary
#B172CB #B9CB72 #72CB85
monochromatic
#74348E #9845BB #B172CB #CA9FDB #E2CBEC

Accessibility & contrast

On white

3.42
#B172CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#B172CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B172CB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B172CB#FFFFFF#000000##000000
##B172CB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CE
Deuteranopia (green-blind)
#738DC8
Tritanopia (blue-blind)
#B07E95
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b172cb;
/* rgb */ color: rgb(177, 114, 203);
/* oklch */ color: oklch(65.2% 0.144 315.5);
Tailwind
colors: {
  custom: {
    50: '#ca9cdb',
    500: '#b172cb',
    950: '#000000',
  },
}
SCSS
$custom: #b172cb;
$custom-light: #ca9cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b172cb",
  "rgb": {
    "r": 177,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 282.472,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65218,
    "c": 0.14389,
    "h": 315.5
  },
  "luminance": 0.25694
}

Semantic roles & 50–950 ramp

primary
#B172CB
secondary
#C6DDBC
accent
#B92C55
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B172CB

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

Preview Lab → · Contrast checker → · Palette generator →

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