#B140E3#B140E3

#B140E3 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.1% C 0.241 H 313.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B140E3
RGBrgb(177, 64, 227)
HSLhsl(282, 74%, 57%)
HSVhsv(282, 72%, 89%)
CMYKcmyk(22%, 71.8%, 0%, 11%)
CIE-LABlab(50.17, 69.12, -62.12)
CIE-LCHlch(50.17, 92.93, 318.05°)
OKLaboklab(60.11% 0.1646 -0.1754)
OKLCHoklch(60.11% 0.241 313.2)
XYZxyz(33.8275, 18.5610, 74.4588)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140E3 #72E340
analogous
#6040E3 #B140E3 #E340C4
triadic
#B140E3 #E3B140 #40E3B1
tetradic
#B140E3 #E36040 #72E340 #40C4E3
square
#B140E3 #E36040 #72E340 #40C4E3
split-complementary
#B140E3 #C4E340 #40E360
monochromatic
#6D1693 #941DC8 #B140E3 #C775EB #DDABF3

Accessibility & contrast

On white

4.46
#B140E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B140E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B140E3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140E3#FFFFFF#000000##000000
##B140E31.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#317ADF
Tritanopia (blue-blind)
#AC648E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b140e3;
/* rgb */ color: rgb(177, 64, 227);
/* oklch */ color: oklch(60.1% 0.241 313.2);
Tailwind
colors: {
  custom: {
    50: '#cd7fed',
    500: '#b140e3',
    950: '#000000',
  },
}
SCSS
$custom: #b140e3;
$custom-light: #cd7fed;
$custom-dark: #000000;
JSON
{
  "hex": "#b140e3",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 227
  },
  "hsl": {
    "h": 281.595,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6011,
    "c": 0.24056,
    "h": 313.2
  },
  "luminance": 0.1856
}

Semantic roles & 50–950 ramp

primary
#B140E3
secondary
#B3E19E
accent
#F13770
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B140E3

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

Preview Lab → · Contrast checker → · Palette generator →

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