#B145D3#B145D3

#B145D3 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.220 H 317.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B145D3
RGBrgb(177, 69, 211)
HSLhsl(286, 62%, 55%)
HSVhsv(286, 67%, 83%)
CMYKcmyk(16.1%, 67.3%, 0%, 17.3%)
CIE-LABlab(49.87, 63.98, -53.50)
CIE-LCHlch(49.87, 83.40, 320.10°)
OKLaboklab(59.57% 0.161 -0.1502)
OKLCHoklch(59.57% 0.22 317)
XYZxyz(32.0157, 18.3078, 63.4627)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145D3 #67D345
analogous
#6A45D3 #B145D3 #D345AE
triadic
#B145D3 #D3B145 #45D3B1
tetradic
#B145D3 #D36A45 #67D345 #45AED3
square
#B145D3 #D36A45 #67D345 #45AED3
split-complementary
#B145D3 #AED345 #45D36A
monochromatic
#681E7F #912AB1 #B145D3 #C676DF #DBA8EA

Accessibility & contrast

On white

4.51
#B145D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B145D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B145D3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145D3#FFFFFF#000000##000000
##B145D31.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#487AD0
Tritanopia (blue-blind)
#AF6087
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b145d3;
/* rgb */ color: rgb(177, 69, 211);
/* oklch */ color: oklch(59.6% 0.220 317.0);
Tailwind
colors: {
  custom: {
    50: '#cc81e1',
    500: '#b145d3',
    950: '#000000',
  },
}
SCSS
$custom: #b145d3;
$custom-light: #cc81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b145d3",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 285.634,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59573,
    "c": 0.22019,
    "h": 317
  },
  "luminance": 0.18307
}

Semantic roles & 50–950 ramp

primary
#B145D3
secondary
#AAD89C
accent
#E5436A
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B145D3

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

Preview Lab → · Contrast checker → · Palette generator →

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