#B145D9#B145D9

#B145D9 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.0% C 0.226 H 315.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B145D9
RGBrgb(177, 69, 217)
HSLhsl(284, 66%, 56%)
HSVhsv(284, 68%, 85%)
CMYKcmyk(18.4%, 68.2%, 0%, 14.9%)
CIE-LABlab(50.23, 65.16, -56.34)
CIE-LCHlch(50.23, 86.14, 319.15°)
OKLaboklab(59.95% 0.1606 -0.1585)
OKLCHoklch(59.95% 0.226 315.4)
XYZxyz(32.7820, 18.6143, 67.4983)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145D9 #6DD945
analogous
#6745D9 #B145D9 #D945B7
triadic
#B145D9 #D9B145 #45D9B1
tetradic
#B145D9 #D96745 #6DD945 #45B7D9
square
#B145D9 #D96745 #6DD945 #45B7D9
split-complementary
#B145D9 #B7D945 #45D967
monochromatic
#6B1C88 #9326BB #B145D9 #C678E3 #DCABEE

Accessibility & contrast

On white

4.45
#B145D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B145D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B145D9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145D9#FFFFFF#000000##000000
##B145D91.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#427AD6
Tritanopia (blue-blind)
#AE628A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b145d9;
/* rgb */ color: rgb(177, 69, 217);
/* oklch */ color: oklch(60.0% 0.226 315.4);
Tailwind
colors: {
  custom: {
    50: '#cc81e5',
    500: '#b145d9',
    950: '#000000',
  },
}
SCSS
$custom: #b145d9;
$custom-light: #cc81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b145d9",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 283.784,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59952,
    "c": 0.22566,
    "h": 315.4
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

primary
#B145D9
secondary
#AFDB9E
accent
#E93F6D
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B145D9

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

Preview Lab → · Contrast checker → · Palette generator →

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