#B173BE#B173BE

#B173BE is a light, vivid purple. Relative luminance 0.253; OKLCH L 64.8% C 0.128 H 320.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B173BE
RGBrgb(177, 115, 190)
HSLhsl(290, 37%, 60%)
HSVhsv(290, 39%, 75%)
CMYKcmyk(6.8%, 39.5%, 0%, 25.5%)
CIE-LABlab(57.39, 37.03, -29.62)
CIE-LCHlch(57.39, 47.42, 321.35°)
OKLaboklab(64.77% 0.0986 -0.0813)
OKLCHoklch(64.77% 0.128 320.5)
XYZxyz(33.5553, 25.3274, 51.8263)
Luminance0.2533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173BE #80BE73
analogous
#8C73BE #B173BE #BE73A6
triadic
#B173BE #BEB173 #73BEB1
tetradic
#B173BE #BE8C73 #80BE73 #73A6BE
square
#B173BE #BE8C73 #80BE73 #73A6BE
split-complementary
#B173BE #A6BE73 #73BE8C
monochromatic
#713A7D #974DA6 #B173BE #C89DD1 #E0C7E5

Accessibility & contrast

On white

3.46
#B173BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#B173BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173BE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173BE#FFFFFF#000000##000000
##B173BE1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6985C1
Deuteranopia (green-blind)
#798CBC
Tritanopia (blue-blind)
#B27C90
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b173be;
/* rgb */ color: rgb(177, 115, 190);
/* oklch */ color: oklch(64.8% 0.128 320.5);
Tailwind
colors: {
  custom: {
    50: '#c99cd2',
    500: '#b173be',
    950: '#000000',
  },
}
SCSS
$custom: #b173be;
$custom-light: #c99cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#b173be",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 190
  },
  "hsl": {
    "h": 289.6,
    "s": 36.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64766,
    "c": 0.12775,
    "h": 320.5
  },
  "luminance": 0.25326
}

Semantic roles & 50–950 ramp

primary
#B173BE
secondary
#BDD5B8
accent
#CD5B6F
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B173BE

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

Preview Lab → · Contrast checker → · Palette generator →

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