#B45BC3#B45BC3

#B45BC3 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.7% C 0.175 H 321.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B45BC3
RGBrgb(180, 91, 195)
HSLhsl(291, 46%, 56%)
HSVhsv(291, 53%, 76%)
CMYKcmyk(7.7%, 53.3%, 0%, 23.5%)
CIE-LABlab(53.09, 51.53, -39.18)
CIE-LCHlch(53.09, 64.73, 322.75°)
OKLaboklab(61.72% 0.1373 -0.1085)
OKLCHoklch(61.72% 0.175 321.7)
XYZxyz(32.4127, 21.1271, 53.9898)
Luminance0.2113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BC3 #6AC35B
analogous
#805BC3 #B45BC3 #C35B9E
triadic
#B45BC3 #C3B45B #5BC3B4
tetradic
#B45BC3 #C3805B #6AC35B #5B9EC3
square
#B45BC3 #C3805B #6AC35B #5B9EC3
split-complementary
#B45BC3 #9EC35B #5BC380
monochromatic
#6D2C78 #963CA5 #B45BC3 #C888D3 #DDB5E4

Accessibility & contrast

On white

4.02
#B45BC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B45BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BC3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BC3#FFFFFF#000000##000000
##B45BC31.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C6
Deuteranopia (green-blind)
#6682C0
Tritanopia (blue-blind)
#B66986
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b45bc3;
/* rgb */ color: rgb(180, 91, 195);
/* oklch */ color: oklch(61.7% 0.175 321.7);
Tailwind
colors: {
  custom: {
    50: '#cd8dd5',
    500: '#b45bc3',
    950: '#000000',
  },
}
SCSS
$custom: #b45bc3;
$custom-light: #cd8dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bc3",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 195
  },
  "hsl": {
    "h": 291.346,
    "s": 46.429,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61717,
    "c": 0.17505,
    "h": 321.7
  },
  "luminance": 0.21126
}

Semantic roles & 50–950 ramp

primary
#B45BC3
secondary
#AED2A7
accent
#D65265
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B45BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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