#B145B2#B145B2

#B145B2 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.7% C 0.191 H 327.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B145B2
RGBrgb(177, 69, 178)
HSLhsl(299, 44%, 48%)
HSVhsv(299, 61%, 70%)
CMYKcmyk(0.6%, 61.2%, 0%, 30.2%)
CIE-LABlab(48.03, 57.86, -37.31)
CIE-LCHlch(48.03, 68.85, 327.18°)
OKLaboklab(57.66% 0.1607 -0.103)
OKLCHoklch(57.66% 0.191 327.3)
XYZxyz(28.2950, 16.8195, 43.8670)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145B2 #46B245
analogous
#7A45B2 #B145B2 #B2457C
triadic
#B145B2 #B2B145 #45B2B1
tetradic
#B145B2 #B27A45 #46B245 #457CB2
square
#B145B2 #B27A45 #46B245 #457CB2
split-complementary
#B145B2 #7CB245 #45B27A
monochromatic
#59235A #853486 #B145B2 #C66EC7 #D79AD8

Accessibility & contrast

On white

4.81
#B145B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B145B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B145B2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145B2#FFFFFF#000000##FFFFFF
##B145B21.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#5E77AF
Tritanopia (blue-blind)
#B65375
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b145b2;
/* rgb */ color: rgb(177, 69, 178);
/* oklch */ color: oklch(57.7% 0.191 327.3);
Tailwind
colors: {
  custom: {
    50: '#cb80c9',
    500: '#b145b2',
    950: '#000000',
  },
}
SCSS
$custom: #b145b2;
$custom-light: #cb80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b145b2",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 299.45,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57656,
    "c": 0.19091,
    "h": 327.3
  },
  "luminance": 0.16818
}

Semantic roles & 50–950 ramp

primary
#B145B2
secondary
#8FC48F
accent
#D45455
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B145B2

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

Preview Lab → · Contrast checker → · Palette generator →

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