#B145D5#B145D5

#B145D5 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.7% C 0.222 H 316.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B145D5
RGBrgb(177, 69, 213)
HSLhsl(285, 63%, 55%)
HSVhsv(285, 68%, 84%)
CMYKcmyk(16.9%, 67.6%, 0%, 16.5%)
CIE-LABlab(49.99, 64.37, -54.45)
CIE-LCHlch(49.99, 84.31, 319.77°)
OKLaboklab(59.7% 0.1609 -0.1529)
OKLCHoklch(59.7% 0.222 316.5)
XYZxyz(32.2680, 18.4087, 64.7914)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145D5 #69D545
analogous
#6945D5 #B145D5 #D545B1
triadic
#B145D5 #D5B145 #45D5B1
tetradic
#B145D5 #D56945 #69D545 #45B1D5
square
#B145D5 #D56945 #69D545 #45B1D5
split-complementary
#B145D5 #B1D545 #45D569
monochromatic
#691D82 #9129B4 #B145D5 #C677E0 #DBA9EC

Accessibility & contrast

On white

4.49
#B145D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B145D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B145D5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145D5#FFFFFF#000000##000000
##B145D51.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#467AD2
Tritanopia (blue-blind)
#AF6188
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b145d5;
/* rgb */ color: rgb(177, 69, 213);
/* oklch */ color: oklch(59.7% 0.222 316.5);
Tailwind
colors: {
  custom: {
    50: '#cc81e3',
    500: '#b145d5',
    950: '#000000',
  },
}
SCSS
$custom: #b145d5;
$custom-light: #cc81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b145d5",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 285,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59699,
    "c": 0.22201,
    "h": 316.5
  },
  "luminance": 0.18407
}

Semantic roles & 50–950 ramp

primary
#B145D5
secondary
#ACD99D
accent
#E6426B
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B145D5

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

Preview Lab → · Contrast checker → · Palette generator →

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