#B45BC8#B45BC8

#B45BC8 is a mid, vivid purple. Relative luminance 0.214; OKLCH L 62.0% C 0.180 H 320.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B45BC8
RGBrgb(180, 91, 200)
HSLhsl(289, 50%, 57%)
HSVhsv(289, 55%, 78%)
CMYKcmyk(10%, 54.5%, 0%, 21.6%)
CIE-LABlab(53.34, 52.51, -41.66)
CIE-LCHlch(53.34, 67.02, 321.57°)
OKLaboklab(61.98% 0.1378 -0.1157)
OKLCHoklch(61.98% 0.18 320)
XYZxyz(32.9875, 21.3570, 57.0171)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BC8 #6FC85B
analogous
#7E5BC8 #B45BC8 #C85BA6
triadic
#B45BC8 #C8B45B #5BC8B4
tetradic
#B45BC8 #C87E5B #6FC85B #5BA6C8
square
#B45BC8 #C87E5B #6FC85B #5BA6C8
split-complementary
#B45BC8 #A6C85B #5BC87E
monochromatic
#6F2A7E #973AAC #B45BC8 #C989D7 #DEB7E7

Accessibility & contrast

On white

3.98
#B45BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#B45BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BC8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BC8#FFFFFF#000000##000000
##B45BC81.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4679CC
Deuteranopia (green-blind)
#6383C5
Tritanopia (blue-blind)
#B56B89
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b45bc8;
/* rgb */ color: rgb(180, 91, 200);
/* oklch */ color: oklch(62.0% 0.180 320.0);
Tailwind
colors: {
  custom: {
    50: '#cd8dd9',
    500: '#b45bc8',
    950: '#000000',
  },
}
SCSS
$custom: #b45bc8;
$custom-light: #cd8dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bc8",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 288.991,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61982,
    "c": 0.17996,
    "h": 320
  },
  "luminance": 0.21356
}

Semantic roles & 50–950 ramp

primary
#B45BC8
secondary
#B1D6A9
accent
#D94F68
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B45BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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