#B173CF#B173CF

#B173CF is a light, vivid purple. Relative luminance 0.261; OKLCH L 65.6% C 0.147 H 314.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B173CF
RGBrgb(177, 115, 207)
HSLhsl(280, 49%, 63%)
HSVhsv(280, 44%, 81%)
CMYKcmyk(14.5%, 44.4%, 0%, 18.8%)
CIE-LABlab(58.15, 40.57, -38.10)
CIE-LCHlch(58.15, 55.65, 316.79°)
OKLaboklab(65.58% 0.1018 -0.1056)
OKLCHoklch(65.58% 0.147 314)
XYZxyz(35.5229, 26.1144, 62.1887)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173CF #91CF73
analogous
#8373CF #B173CF #CF73BF
triadic
#B173CF #CFB173 #73CFB1
tetradic
#B173CF #CF8373 #91CF73 #73BFCF
square
#B173CF #CF8373 #91CF73 #73BFCF
split-complementary
#B173CF #BFCF73 #73CF83
monochromatic
#753395 #9845BF #B173CF #CAA1DF #E4CEEE

Accessibility & contrast

On white

3.37
#B173CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#B173CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173CF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173CF#FFFFFF#000000##000000
##B173CF1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6188D2
Deuteranopia (green-blind)
#728DCC
Tritanopia (blue-blind)
#AF8097
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b173cf;
/* rgb */ color: rgb(177, 115, 207);
/* oklch */ color: oklch(65.6% 0.147 314.0);
Tailwind
colors: {
  custom: {
    50: '#ca9dde',
    500: '#b173cf',
    950: '#000000',
  },
}
SCSS
$custom: #b173cf;
$custom-light: #ca9dde;
$custom-dark: #000000;
JSON
{
  "hex": "#b173cf",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 207
  },
  "hsl": {
    "h": 280.435,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65578,
    "c": 0.14672,
    "h": 314
  },
  "luminance": 0.26114
}

Semantic roles & 50–950 ramp

primary
#B173CF
secondary
#C9DFBE
accent
#BC2959
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B173CF

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

Preview Lab → · Contrast checker → · Palette generator →

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