#B145CD#B145CD

#B145CD is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.215 H 318.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B145CD
RGBrgb(177, 69, 205)
HSLhsl(288, 58%, 54%)
HSVhsv(288, 66%, 80%)
CMYKcmyk(13.7%, 66.3%, 0%, 19.6%)
CIE-LABlab(49.51, 62.82, -50.63)
CIE-LCHlch(49.51, 80.68, 321.13°)
OKLaboklab(59.2% 0.1613 -0.1418)
OKLCHoklch(59.2% 0.215 318.7)
XYZxyz(31.2776, 18.0125, 59.5750)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145CD #61CD45
analogous
#6D45CD #B145CD #CD45A5
triadic
#B145CD #CDB145 #45CDB1
tetradic
#B145CD #CD6D45 #61CD45 #45A5CD
square
#B145CD #CD6D45 #61CD45 #45A5CD
split-complementary
#B145CD #A5CD45 #45CD6D
monochromatic
#652077 #8E2DA8 #B145CD #C575DA #D9A5E7

Accessibility & contrast

On white

4.56
#B145CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B145CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B145CD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145CD#FFFFFF#000000##000000
##B145CD1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E6FD1
Deuteranopia (green-blind)
#4D79CA
Tritanopia (blue-blind)
#B15E83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b145cd;
/* rgb */ color: rgb(177, 69, 205);
/* oklch */ color: oklch(59.2% 0.215 318.7);
Tailwind
colors: {
  custom: {
    50: '#cc81dd',
    500: '#b145cd',
    950: '#000000',
  },
}
SCSS
$custom: #b145cd;
$custom-light: #cc81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b145cd",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 287.647,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59203,
    "c": 0.21473,
    "h": 318.7
  },
  "luminance": 0.18011
}

Semantic roles & 50–950 ramp

primary
#B145CD
secondary
#A6D49A
accent
#E14767
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B145CD

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

Preview Lab → · Contrast checker → · Palette generator →

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