#B140A3#B140A3

#B140A3 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.3% C 0.186 H 333.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B140A3
RGBrgb(177, 64, 163)
HSLhsl(307, 47%, 47%)
HSVhsv(307, 64%, 69%)
CMYKcmyk(0%, 63.8%, 7.9%, 30.6%)
CIE-LABlab(46.53, 57.45, -30.83)
CIE-LCHlch(46.53, 65.20, 331.78°)
OKLaboklab(56.32% 0.1654 -0.0843)
OKLCHoklch(56.32% 0.186 333)
XYZxyz(26.5758, 15.6603, 36.2663)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140A3 #40B14E
analogous
#8740B1 #B140A3 #B1406A
triadic
#B140A3 #A3B140 #40A3B1
tetradic
#B140A3 #B18740 #40B14E #406AB1
square
#B140A3 #B18740 #40B14E #406AB1
split-complementary
#B140A3 #6AB140 #40B187
monochromatic
#571F50 #84307A #B140A3 #C866BC #D893D0

Accessibility & contrast

On white

5.08
#B140A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B140A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140A3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140A3#FFFFFF#000000##FFFFFF
##B140A31.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A6
Deuteranopia (green-blind)
#6274A0
Tritanopia (blue-blind)
#B9496C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b140a3;
/* rgb */ color: rgb(177, 64, 163);
/* oklch */ color: oklch(56.3% 0.186 333.0);
Tailwind
colors: {
  custom: {
    50: '#cb7dbe',
    500: '#b140a3',
    950: '#000000',
  },
}
SCSS
$custom: #b140a3;
$custom-light: #cb7dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b140a3",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 307.434,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5632,
    "c": 0.18561,
    "h": 333
  },
  "luminance": 0.15658
}

Semantic roles & 50–950 ramp

primary
#B140A3
secondary
#89C391
accent
#D76251
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B140A3

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

Preview Lab → · Contrast checker → · Palette generator →

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