#B145BE#B145BE

#B145BE is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.3% C 0.201 H 323.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B145BE
RGBrgb(177, 69, 190)
HSLhsl(294, 48%, 51%)
HSVhsv(294, 64%, 75%)
CMYKcmyk(6.8%, 63.7%, 0%, 25.5%)
CIE-LABlab(48.66, 60.01, -43.32)
CIE-LCHlch(48.66, 74.01, 324.18°)
OKLaboklab(58.32% 0.1613 -0.1204)
OKLCHoklch(58.32% 0.201 323.3)
XYZxyz(29.5530, 17.3227, 50.4922)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145BE #52BE45
analogous
#7445BE #B145BE #BE458E
triadic
#B145BE #BEB145 #45BEB1
tetradic
#B145BE #BE7445 #52BE45 #458EBE
square
#B145BE #BE7445 #52BE45 #458EBE
split-complementary
#B145BE #8EBE45 #45BE74
monochromatic
#5E2365 #883393 #B145BE #C472CE #D7A0DE

Accessibility & contrast

On white

4.70
#B145BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B145BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B145BE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145BE#FFFFFF#000000##FFFFFF
##B145BE1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6BC2
Deuteranopia (green-blind)
#5778BB
Tritanopia (blue-blind)
#B4587B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b145be;
/* rgb */ color: rgb(177, 69, 190);
/* oklch */ color: oklch(58.3% 0.201 323.3);
Tailwind
colors: {
  custom: {
    50: '#cb80d2',
    500: '#b145be',
    950: '#000000',
  },
}
SCSS
$custom: #b145be;
$custom-light: #cb80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b145be",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 293.554,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58319,
    "c": 0.20132,
    "h": 323.3
  },
  "luminance": 0.17321
}

Semantic roles & 50–950 ramp

primary
#B145BE
secondary
#9ACA95
accent
#D8505F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B145BE

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

Preview Lab → · Contrast checker → · Palette generator →

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