#B145D1#B145D1

#B145D1 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.218 H 317.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B145D1
RGBrgb(177, 69, 209)
HSLhsl(286, 60%, 55%)
HSVhsv(286, 67%, 82%)
CMYKcmyk(15.3%, 67%, 0%, 18%)
CIE-LABlab(49.75, 63.59, -52.55)
CIE-LCHlch(49.75, 82.49, 320.43°)
OKLaboklab(59.45% 0.1611 -0.1474)
OKLCHoklch(59.45% 0.218 317.6)
XYZxyz(31.7666, 18.2081, 62.1504)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145D1 #65D145
analogous
#6B45D1 #B145D1 #D145AB
triadic
#B145D1 #D1B145 #45D1B1
tetradic
#B145D1 #D16B45 #65D145 #45ABD1
square
#B145D1 #D16B45 #65D145 #45ABD1
split-complementary
#B145D1 #ABD145 #45D16B
monochromatic
#671F7D #902BAE #B145D1 #C676DD #DAA7E9

Accessibility & contrast

On white

4.52
#B145D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B145D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B145D1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145D1#FFFFFF#000000##000000
##B145D11.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#497ACE
Tritanopia (blue-blind)
#B05F86
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b145d1;
/* rgb */ color: rgb(177, 69, 209);
/* oklch */ color: oklch(59.4% 0.218 317.6);
Tailwind
colors: {
  custom: {
    50: '#cc81e0',
    500: '#b145d1',
    950: '#000000',
  },
}
SCSS
$custom: #b145d1;
$custom-light: #cc81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b145d1",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 286.286,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59449,
    "c": 0.21837,
    "h": 317.6
  },
  "luminance": 0.18207
}

Semantic roles & 50–950 ramp

primary
#B145D1
secondary
#A9D79B
accent
#E34469
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B145D1

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

Preview Lab → · Contrast checker → · Palette generator →

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