#B145CC#B145CC

#B145CC is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.214 H 319.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B145CC
RGBrgb(177, 69, 204)
HSLhsl(288, 57%, 54%)
HSVhsv(288, 66%, 80%)
CMYKcmyk(13.2%, 66.2%, 0%, 20%)
CIE-LABlab(49.45, 62.63, -50.15)
CIE-LCHlch(49.45, 80.23, 321.32°)
OKLaboklab(59.14% 0.1613 -0.1404)
OKLCHoklch(59.14% 0.214 319)
XYZxyz(31.1572, 17.9644, 58.9413)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145CC #60CC45
analogous
#6D45CC #B145CC #CC45A3
triadic
#B145CC #CCB145 #45CCB1
tetradic
#B145CC #CC6D45 #60CC45 #45A3CC
square
#B145CC #CC6D45 #60CC45 #45A3CC
split-complementary
#B145CC #A3CC45 #45CC6D
monochromatic
#652076 #8E2EA6 #B145CC #C575D9 #D9A5E6

Accessibility & contrast

On white

4.57
#B145CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B145CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B145CC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145CC#FFFFFF#000000##000000
##B145CC1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#126ED0
Deuteranopia (green-blind)
#4D79C9
Tritanopia (blue-blind)
#B15D83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b145cc;
/* rgb */ color: rgb(177, 69, 204);
/* oklch */ color: oklch(59.1% 0.214 319.0);
Tailwind
colors: {
  custom: {
    50: '#cc81dc',
    500: '#b145cc',
    950: '#000000',
  },
}
SCSS
$custom: #b145cc;
$custom-light: #cc81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b145cc",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 288,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59143,
    "c": 0.21383,
    "h": 319
  },
  "luminance": 0.17963
}

Semantic roles & 50–950 ramp

primary
#B145CC
secondary
#A5D399
accent
#E04866
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B145CC

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

Preview Lab → · Contrast checker → · Palette generator →

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