#B143A2#B143A2

#B143A2 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.6% C 0.181 H 333.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B143A2
RGBrgb(177, 67, 162)
HSLhsl(308, 45%, 48%)
HSVhsv(308, 62%, 69%)
CMYKcmyk(0%, 62.1%, 8.5%, 30.6%)
CIE-LABlab(46.94, 56.02, -29.60)
CIE-LCHlch(46.94, 63.35, 332.15°)
OKLaboklab(56.61% 0.1615 -0.0808)
OKLCHoklch(56.61% 0.181 333.4)
XYZxyz(26.6603, 15.9721, 35.8542)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B143A2 #43B152
analogous
#8943B1 #B143A2 #B1436B
triadic
#B143A2 #A2B143 #43A2B1
tetradic
#B143A2 #B18943 #43B152 #436BB1
square
#B143A2 #B18943 #43B152 #436BB1
split-complementary
#B143A2 #6BB143 #43B189
monochromatic
#582151 #853279 #B143A2 #C76ABA #D897CF

Accessibility & contrast

On white

5.01
#B143A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B143A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B143A2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B143A2#FFFFFF#000000##FFFFFF
##B143A21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#64759F
Tritanopia (blue-blind)
#B94B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b143a2;
/* rgb */ color: rgb(177, 67, 162);
/* oklch */ color: oklch(56.6% 0.181 333.4);
Tailwind
colors: {
  custom: {
    50: '#cb7ebe',
    500: '#b143a2',
    950: '#000000',
  },
}
SCSS
$custom: #b143a2;
$custom-light: #cb7ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#b143a2",
  "rgb": {
    "r": 177,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 308.182,
    "s": 45.082,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56605,
    "c": 0.18062,
    "h": 333.4
  },
  "luminance": 0.1597
}

Semantic roles & 50–950 ramp

primary
#B143A2
secondary
#8CC394
accent
#D56553
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B143A2

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

Preview Lab → · Contrast checker → · Palette generator →

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