#B873CA#B873CA

#B873CA is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.1% C 0.145 H 319.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B873CA
RGBrgb(184, 115, 202)
HSLhsl(288, 45%, 62%)
HSVhsv(288, 43%, 79%)
CMYKcmyk(8.9%, 43.1%, 0%, 20.8%)
CIE-LABlab(58.71, 41.59, -34.33)
CIE-LCHlch(58.71, 53.92, 320.46°)
OKLaboklab(66.1% 0.1093 -0.0946)
OKLCHoklch(66.1% 0.145 319.1)
XYZxyz(36.5572, 26.7173, 59.0969)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B873CA #85CA73
analogous
#8D73CA #B873CA #CA73B1
triadic
#B873CA #CAB873 #73CAB8
tetradic
#B873CA #CA8D73 #85CA73 #73B1CA
square
#B873CA #CA8D73 #85CA73 #73B1CA
split-complementary
#B873CA #B1CA73 #73CA8D
monochromatic
#7B358D #A147B9 #B873CA #CF9FDB #E5CCEC

Accessibility & contrast

On white

3.31
#B873CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#B873CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B873CA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B873CA#FFFFFF#000000##000000
##B873CA1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CD
Deuteranopia (green-blind)
#7890C7
Tritanopia (blue-blind)
#B97E95
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b873ca;
/* rgb */ color: rgb(184, 115, 202);
/* oklch */ color: oklch(66.1% 0.145 319.1);
Tailwind
colors: {
  custom: {
    50: '#cf9dda',
    500: '#b873ca',
    950: '#000000',
  },
}
SCSS
$custom: #b873ca;
$custom-light: #cf9dda;
$custom-dark: #000000;
JSON
{
  "hex": "#b873ca",
  "rgb": {
    "r": 184,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 287.586,
    "s": 45.078,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66103,
    "c": 0.14457,
    "h": 319.1
  },
  "luminance": 0.26716
}

Semantic roles & 50–950 ramp

primary
#B873CA
secondary
#C3DCBC
accent
#B82D4A
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B873CA

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

Preview Lab → · Contrast checker → · Palette generator →

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