#B143DB#B143DB

#B143DB is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.9% C 0.230 H 315.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B143DB
RGBrgb(177, 67, 219)
HSLhsl(283, 68%, 56%)
HSVhsv(283, 69%, 86%)
CMYKcmyk(19.2%, 69.4%, 0%, 14.1%)
CIE-LABlab(50.07, 66.36, -57.74)
CIE-LCHlch(50.07, 87.97, 318.98°)
OKLaboklab(59.88% 0.1626 -0.1626)
OKLCHoklch(59.88% 0.23 315)
XYZxyz(32.9227, 18.4771, 68.8363)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B143DB #6DDB43
analogous
#6543DB #B143DB #DB43B9
triadic
#B143DB #DBB143 #43DBB1
tetradic
#B143DB #DB6543 #6DDB43 #43B9DB
square
#B143DB #DB6543 #6DDB43 #43B9DB
split-complementary
#B143DB #B9DB43 #43DB65
monochromatic
#6B1A89 #9324BD #B143DB #C676E5 #DCAAEF

Accessibility & contrast

On white

4.47
#B143DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B143DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B143DB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B143DB#FFFFFF#000000##000000
##B143DB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#3E7AD8
Tritanopia (blue-blind)
#AE628A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b143db;
/* rgb */ color: rgb(177, 67, 219);
/* oklch */ color: oklch(59.9% 0.230 315.0);
Tailwind
colors: {
  custom: {
    50: '#cc80e7',
    500: '#b143db',
    950: '#000000',
  },
}
SCSS
$custom: #b143db;
$custom-light: #cc80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b143db",
  "rgb": {
    "r": 177,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 283.421,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59875,
    "c": 0.2299,
    "h": 315
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#B143DB
secondary
#AFDC9E
accent
#EB3D6D
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B143DB

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

Preview Lab → · Contrast checker → · Palette generator →

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