#B140D9#B140D9

#B140D9 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.4% C 0.232 H 315.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B140D9
RGBrgb(177, 64, 217)
HSLhsl(284, 67%, 55%)
HSVhsv(284, 71%, 85%)
CMYKcmyk(18.4%, 70.5%, 0%, 14.9%)
CIE-LABlab(49.53, 67.15, -57.47)
CIE-LCHlch(49.53, 88.39, 319.44°)
OKLaboklab(59.45% 0.1657 -0.1618)
OKLCHoklch(59.45% 0.232 315.7)
XYZxyz(32.4873, 18.0249, 67.4000)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140D9 #68D940
analogous
#6540D9 #B140D9 #D940B4
triadic
#B140D9 #D9B140 #40D9B1
tetradic
#B140D9 #D96540 #68D940 #40B4D9
square
#B140D9 #D96540 #68D940 #40B4D9
split-complementary
#B140D9 #B4D940 #40D965
monochromatic
#691A84 #9124B7 #B140D9 #C673E3 #DBA6ED

Accessibility & contrast

On white

4.56
#B140D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B140D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B140D9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140D9#FFFFFF#000000##000000
##B140D91.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#3E79D6
Tritanopia (blue-blind)
#AE5F89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b140d9;
/* rgb */ color: rgb(177, 64, 217);
/* oklch */ color: oklch(59.4% 0.232 315.7);
Tailwind
colors: {
  custom: {
    50: '#cc7ee5',
    500: '#b140d9',
    950: '#000000',
  },
}
SCSS
$custom: #b140d9;
$custom-light: #cc7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#b140d9",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 217
  },
  "hsl": {
    "h": 284.314,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59448,
    "c": 0.2316,
    "h": 315.7
  },
  "luminance": 0.18024
}

Semantic roles & 50–950 ramp

primary
#B140D9
secondary
#ABDA9A
accent
#EA3E6B
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B140D9

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

Preview Lab → · Contrast checker → · Palette generator →

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