#B173CB#B173CB

#B173CB is a light, vivid purple. Relative luminance 0.259; OKLCH L 65.4% C 0.142 H 315.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B173CB
RGBrgb(177, 115, 203)
HSLhsl(282, 46%, 62%)
HSVhsv(282, 43%, 80%)
CMYKcmyk(12.8%, 43.3%, 0%, 20.4%)
CIE-LABlab(57.96, 39.72, -36.12)
CIE-LCHlch(57.96, 53.69, 317.71°)
OKLaboklab(65.38% 0.1012 -0.0999)
OKLCHoklch(65.38% 0.142 315.3)
XYZxyz(35.0400, 25.9213, 59.6458)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173CB #8DCB73
analogous
#8573CB #B173CB #CB73B9
triadic
#B173CB #CBB173 #73CBB1
tetradic
#B173CB #CB8573 #8DCB73 #73B9CB
square
#B173CB #CB8573 #8DCB73 #73B9CB
split-complementary
#B173CB #B9CB73 #73CB85
monochromatic
#74358F #9846BA #B173CB #CAA0DC #E3CCEC

Accessibility & contrast

On white

3.40
#B173CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B173CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173CB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173CB#FFFFFF#000000##000000
##B173CB1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b173cb;
/* rgb */ color: rgb(177, 115, 203);
/* oklch */ color: oklch(65.4% 0.142 315.3);
Tailwind
colors: {
  custom: {
    50: '#ca9ddb',
    500: '#b173cb',
    950: '#000000',
  },
}
SCSS
$custom: #b173cb;
$custom-light: #ca9ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#b173cb",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 282.273,
    "s": 45.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6538,
    "c": 0.14219,
    "h": 315.3
  },
  "luminance": 0.2592
}

Semantic roles & 50–950 ramp

primary
#B173CB
secondary
#C6DDBD
accent
#B92C56
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B173CB

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

Preview Lab → · Contrast checker → · Palette generator →

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