#B173CA#B173CA

#B173CA is a light, vivid purple. Relative luminance 0.259; OKLCH L 65.3% C 0.141 H 315.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B173CA
RGBrgb(177, 115, 202)
HSLhsl(283, 45%, 62%)
HSVhsv(283, 43%, 79%)
CMYKcmyk(12.4%, 43.1%, 0%, 20.8%)
CIE-LABlab(57.92, 39.51, -35.63)
CIE-LCHlch(57.92, 53.20, 317.95°)
OKLaboklab(65.33% 0.101 -0.0985)
OKLCHoklch(65.33% 0.141 315.7)
XYZxyz(34.9212, 25.8738, 59.0202)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B173CA #8CCA73
analogous
#8673CA #B173CA #CA73B7
triadic
#B173CA #CAB173 #73CAB1
tetradic
#B173CA #CA8673 #8CCA73 #73B7CA
square
#B173CA #CA8673 #8CCA73 #73B7CA
split-complementary
#B173CA #B7CA73 #73CA86
monochromatic
#74358D #9847B9 #B173CA #CA9FDB #E2CCEC

Accessibility & contrast

On white

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

On black

6.17
#B173CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B173CA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B173CA#FFFFFF#000000##000000
##B173CA1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6487CD
Deuteranopia (green-blind)
#748DC8
Tritanopia (blue-blind)
#B07F95
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b173ca;
/* rgb */ color: rgb(177, 115, 202);
/* oklch */ color: oklch(65.3% 0.141 315.7);
Tailwind
colors: {
  custom: {
    50: '#ca9cda',
    500: '#b173ca',
    950: '#000000',
  },
}
SCSS
$custom: #b173ca;
$custom-light: #ca9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#b173ca",
  "rgb": {
    "r": 177,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 282.759,
    "s": 45.078,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65332,
    "c": 0.14106,
    "h": 315.7
  },
  "luminance": 0.25873
}

Semantic roles & 50–950 ramp

primary
#B173CA
secondary
#C6DCBC
accent
#B82D55
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B173CA

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

Preview Lab → · Contrast checker → · Palette generator →

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