#B145D8#B145D8

#B145D8 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.225 H 315.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B145D8
RGBrgb(177, 69, 216)
HSLhsl(284, 65%, 56%)
HSVhsv(284, 68%, 85%)
CMYKcmyk(18.1%, 68.1%, 0%, 15.3%)
CIE-LABlab(50.17, 64.96, -55.87)
CIE-LCHlch(50.17, 85.68, 319.30°)
OKLaboklab(59.89% 0.1607 -0.1571)
OKLCHoklch(59.89% 0.225 315.7)
XYZxyz(32.6523, 18.5624, 66.8153)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145D8 #6CD845
analogous
#6745D8 #B145D8 #D845B5
triadic
#B145D8 #D8B145 #45D8B1
tetradic
#B145D8 #D86745 #6CD845 #45B5D8
square
#B145D8 #D86745 #6CD845 #45B5D8
split-complementary
#B145D8 #B5D845 #45D867
monochromatic
#6A1C86 #9227B9 #B145D8 #C678E3 #DBAAED

Accessibility & contrast

On white

4.46
#B145D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B145D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B145D8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145D8#FFFFFF#000000##000000
##B145D81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#437AD5
Tritanopia (blue-blind)
#AE6289
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b145d8;
/* rgb */ color: rgb(177, 69, 216);
/* oklch */ color: oklch(59.9% 0.225 315.7);
Tailwind
colors: {
  custom: {
    50: '#cc81e5',
    500: '#b145d8',
    950: '#000000',
  },
}
SCSS
$custom: #b145d8;
$custom-light: #cc81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b145d8",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 284.082,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59888,
    "c": 0.22475,
    "h": 315.7
  },
  "luminance": 0.18561
}

Semantic roles & 50–950 ramp

primary
#B145D8
secondary
#AEDB9E
accent
#E8406C
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B145D8

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

Preview Lab → · Contrast checker → · Palette generator →

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