#B140CF#B140CF

#B140CF is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.223 H 318.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B140CF
RGBrgb(177, 64, 207)
HSLhsl(287, 60%, 53%)
HSVhsv(287, 69%, 81%)
CMYKcmyk(14.5%, 69.1%, 0%, 18.8%)
CIE-LABlab(48.91, 65.23, -52.74)
CIE-LCHlch(48.91, 83.88, 321.04°)
OKLaboklab(58.81% 0.1665 -0.1479)
OKLCHoklch(58.81% 0.223 318.4)
XYZxyz(31.2258, 17.5203, 60.7563)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140CF #5ECF40
analogous
#6940CF #B140CF #CF40A5
triadic
#B140CF #CFB140 #40CFB1
tetradic
#B140CF #CF6940 #5ECF40 #40A5CF
square
#B140CF #CF6940 #5ECF40 #40A5CF
split-complementary
#B140CF #A5CF40 #40CF69
monochromatic
#641E77 #8D2AA8 #B140CF #C571DB #D9A2E8

Accessibility & contrast

On white

4.66
#B140CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B140CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B140CF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140CF#FFFFFF#000000##FFFFFF
##B140CF1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#4778CC
Tritanopia (blue-blind)
#B05B83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b140cf;
/* rgb */ color: rgb(177, 64, 207);
/* oklch */ color: oklch(58.8% 0.223 318.4);
Tailwind
colors: {
  custom: {
    50: '#cc7ede',
    500: '#b140cf',
    950: '#000000',
  },
}
SCSS
$custom: #b140cf;
$custom-light: #cc7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#b140cf",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 287.413,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58809,
    "c": 0.22272,
    "h": 318.4
  },
  "luminance": 0.17519
}

Semantic roles & 50–950 ramp

primary
#B140CF
secondary
#A4D497
accent
#E34566
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B140CF

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

Preview Lab → · Contrast checker → · Palette generator →

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