#B873FC#B873FC

#B873FC is a light, highly saturated violet. Relative luminance 0.295; OKLCH L 68.8% C 0.200 H 305.0°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#B873FC
RGBrgb(184, 115, 252)
HSLhsl(270, 96%, 72%)
HSVhsv(270, 54%, 99%)
CMYKcmyk(27%, 54.4%, 0%, 1.2%)
CIE-LABlab(61.20, 52.44, -58.32)
CIE-LCHlch(61.20, 78.43, 311.96°)
OKLaboklab(68.76% 0.1149 -0.1643)
OKLCHoklch(68.76% 0.2 305)
XYZxyz(43.4648, 29.4803, 95.4771)
Luminance0.2948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B873FC #B7FC73
analogous
#7473FC #B873FC #FC73FB
triadic
#B873FC #FCB873 #73FCB8
tetradic
#B873FC #FC7473 #B7FC73 #73FBFC
square
#B873FC #FC7473 #B7FC73 #73FBFC
split-complementary
#B873FC #FBFC73 #73FC74
monochromatic
#7B05EF #9A37FB #B873FC #D6AFFD #F0E1FE

Accessibility & contrast

On white

3.05
#B873FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#B873FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B873FC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B873FC#FFFFFF#000000##000000
##B873FC1.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#5A94F9
Tritanopia (blue-blind)
#AC8DAD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b873fc;
/* rgb */ color: rgb(184, 115, 252);
/* oklch */ color: oklch(68.8% 0.200 305.0);
Tailwind
colors: {
  custom: {
    50: '#d19dfe',
    500: '#b873fc',
    950: '#000000',
  },
}
SCSS
$custom: #b873fc;
$custom-light: #d19dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b873fc",
  "rgb": {
    "r": 184,
    "g": 115,
    "b": 252
  },
  "hsl": {
    "h": 270.219,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68762,
    "c": 0.20047,
    "h": 305
  },
  "luminance": 0.2948
}

Semantic roles & 50–950 ramp

primary
#B873FC
secondary
#E5F7D4
accent
#E60072
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B873FC

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

Preview Lab → · Contrast checker → · Palette generator →

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