#B145D6#B145D6

#B145D6 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.8% C 0.223 H 316.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B145D6
RGBrgb(177, 69, 214)
HSLhsl(285, 64%, 55%)
HSVhsv(285, 68%, 84%)
CMYKcmyk(17.3%, 67.8%, 0%, 16.1%)
CIE-LABlab(50.05, 64.57, -54.92)
CIE-LCHlch(50.05, 84.77, 319.62°)
OKLaboklab(59.76% 0.1609 -0.1543)
OKLCHoklch(59.76% 0.223 316.2)
XYZxyz(32.3953, 18.4596, 65.4619)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145D6 #6AD645
analogous
#6845D6 #B145D6 #D645B2
triadic
#B145D6 #D6B145 #45D6B1
tetradic
#B145D6 #D66845 #6AD645 #45B2D6
square
#B145D6 #D66845 #6AD645 #45B2D6
split-complementary
#B145D6 #B2D645 #45D668
monochromatic
#691D84 #9228B6 #B145D6 #C677E1 #DBA9EC

Accessibility & contrast

On white

4.48
#B145D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B145D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B145D6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145D6#FFFFFF#000000##000000
##B145D61.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DA
Deuteranopia (green-blind)
#457AD3
Tritanopia (blue-blind)
#AF6188
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b145d6;
/* rgb */ color: rgb(177, 69, 214);
/* oklch */ color: oklch(59.8% 0.223 316.2);
Tailwind
colors: {
  custom: {
    50: '#cc81e3',
    500: '#b145d6',
    950: '#000000',
  },
}
SCSS
$custom: #b145d6;
$custom-light: #cc81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b145d6",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 284.69,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59762,
    "c": 0.22293,
    "h": 316.2
  },
  "luminance": 0.18458
}

Semantic roles & 50–950 ramp

primary
#B145D6
secondary
#ADDA9D
accent
#E7416B
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B145D6

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

Preview Lab → · Contrast checker → · Palette generator →

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