#B140C3#B140C3

#B140C3 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.1% C 0.212 H 321.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B140C3
RGBrgb(177, 64, 195)
HSLhsl(292, 52%, 51%)
HSVhsv(292, 67%, 76%)
CMYKcmyk(9.2%, 67.2%, 0%, 23.5%)
CIE-LABlab(48.20, 62.99, -46.95)
CIE-LCHlch(48.20, 78.56, 323.30°)
OKLaboklab(58.08% 0.167 -0.131)
OKLCHoklch(58.08% 0.212 321.9)
XYZxyz(29.8141, 16.9556, 53.3215)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140C3 #52C340
analogous
#6F40C3 #B140C3 #C34093
triadic
#B140C3 #C3B140 #40C3B1
tetradic
#B140C3 #C36F40 #52C340 #4093C3
square
#B140C3 #C36F40 #52C340 #4093C3
split-complementary
#B140C3 #93C340 #40C36F
monochromatic
#5E2168 #882F97 #B140C3 #C46FD2 #D79DE0

Accessibility & contrast

On white

4.78
#B140C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B140C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B140C3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140C3#FFFFFF#000000##FFFFFF
##B140C31.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186AC7
Deuteranopia (green-blind)
#5077C0
Tritanopia (blue-blind)
#B3567D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b140c3;
/* rgb */ color: rgb(177, 64, 195);
/* oklch */ color: oklch(58.1% 0.212 321.9);
Tailwind
colors: {
  custom: {
    50: '#cc7ed6',
    500: '#b140c3',
    950: '#000000',
  },
}
SCSS
$custom: #b140c3;
$custom-light: #cc7ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#b140c3",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 291.756,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58077,
    "c": 0.21221,
    "h": 321.9
  },
  "luminance": 0.16954
}

Semantic roles & 50–950 ramp

primary
#B140C3
secondary
#9ACC92
accent
#DC4C60
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #B140C3

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

Preview Lab → · Contrast checker → · Palette generator →

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