#B145CB#B145CB

#B145CB is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.213 H 319.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#B145CB
RGBrgb(177, 69, 203)
HSLhsl(288, 56%, 53%)
HSVhsv(288, 66%, 80%)
CMYKcmyk(12.8%, 66%, 0%, 20.4%)
CIE-LABlab(49.39, 62.44, -49.67)
CIE-LCHlch(49.39, 79.78, 321.50°)
OKLaboklab(59.08% 0.1613 -0.139)
OKLCHoklch(59.08% 0.213 319.3)
XYZxyz(31.0377, 17.9166, 58.3117)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145CB #5FCB45
analogous
#6E45CB #B145CB #CB45A2
triadic
#B145CB #CBB145 #45CBB1
tetradic
#B145CB #CB6E45 #5FCB45 #45A2CB
square
#B145CB #CB6E45 #5FCB45 #45A2CB
split-complementary
#B145CB #A2CB45 #45CB6E
monochromatic
#652175 #8E2EA5 #B145CB #C575D8 #D9A5E6

Accessibility & contrast

On white

4.58
#B145CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B145CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B145CB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145CB#FFFFFF#000000##000000
##B145CB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#156ECF
Deuteranopia (green-blind)
#4E79C8
Tritanopia (blue-blind)
#B15D82
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b145cb;
/* rgb */ color: rgb(177, 69, 203);
/* oklch */ color: oklch(59.1% 0.213 319.3);
Tailwind
colors: {
  custom: {
    50: '#cc81db',
    500: '#b145cb',
    950: '#000000',
  },
}
SCSS
$custom: #b145cb;
$custom-light: #cc81db;
$custom-dark: #000000;
JSON
{
  "hex": "#b145cb",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 288.358,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59082,
    "c": 0.21293,
    "h": 319.3
  },
  "luminance": 0.17915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B145CB

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

Preview Lab → · Contrast checker → · Palette generator →

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