#B173CD#B173CD

#B173CD is a light, vivid purple. Relative luminance 0.260; OKLCH L 65.5% C 0.144 H 314.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B173CD
RGBrgb(177, 115, 205)
HSLhsl(281, 47%, 63%)
HSVhsv(281, 44%, 80%)
CMYKcmyk(13.7%, 43.9%, 0%, 19.6%)
CIE-LABlab(58.05, 40.14, -37.11)
CIE-LCHlch(58.05, 54.67, 317.24°)
OKLaboklab(65.48% 0.1015 -0.1028)
OKLCHoklch(65.48% 0.144 314.6)
XYZxyz(35.2799, 26.0172, 60.9091)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173CD #8FCD73
analogous
#8473CD #B173CD #CD73BC
triadic
#B173CD #CDB173 #73CDB1
tetradic
#B173CD #CD8473 #8FCD73 #73BCCD
square
#B173CD #CD8473 #8FCD73 #73BCCD
split-complementary
#B173CD #BCCD73 #73CD84
monochromatic
#743492 #9846BD #B173CD #CAA0DD #E3CDED

Accessibility & contrast

On white

3.39
#B173CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#B173CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173CD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173CD#FFFFFF#000000##000000
##B173CD1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6288D0
Deuteranopia (green-blind)
#738DCA
Tritanopia (blue-blind)
#AF8096
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b173cd;
/* rgb */ color: rgb(177, 115, 205);
/* oklch */ color: oklch(65.5% 0.144 314.6);
Tailwind
colors: {
  custom: {
    50: '#ca9ddc',
    500: '#b173cd',
    950: '#000000',
  },
}
SCSS
$custom: #b173cd;
$custom-light: #ca9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#b173cd",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 281.333,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65479,
    "c": 0.14445,
    "h": 314.6
  },
  "luminance": 0.26016
}

Semantic roles & 50–950 ramp

primary
#B173CD
secondary
#C8DEBE
accent
#BB2B58
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B173CD

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

Preview Lab → · Contrast checker → · Palette generator →

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