#B45BBB#B45BBB

#B45BBB is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.3% C 0.167 H 324.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B45BBB
RGBrgb(180, 91, 187)
HSLhsl(296, 41%, 55%)
HSVhsv(296, 51%, 73%)
CMYKcmyk(3.7%, 51.3%, 0%, 26.7%)
CIE-LABlab(52.70, 50.00, -35.18)
CIE-LCHlch(52.70, 61.14, 324.87°)
OKLaboklab(61.31% 0.1364 -0.097)
OKLCHoklch(61.31% 0.167 324.6)
XYZxyz(31.5323, 20.7749, 49.3531)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BBB #62BB5B
analogous
#845BBB #B45BBB #BB5B92
triadic
#B45BBB #BBB45B #5BBBB4
tetradic
#B45BBB #BB845B #62BB5B #5B92BB
square
#B45BBB #BB845B #62BB5B #5B92BB
split-complementary
#B45BBB #92BB5B #5BBB84
monochromatic
#692E6E #934099 #B45BBB #C886CD #DCB2DF

Accessibility & contrast

On white

4.07
#B45BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B45BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BBB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BBB#FFFFFF#000000##000000
##B45BBB1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BE
Deuteranopia (green-blind)
#6A82B8
Tritanopia (blue-blind)
#B76783
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45bbb;
/* rgb */ color: rgb(180, 91, 187);
/* oklch */ color: oklch(61.3% 0.167 324.6);
Tailwind
colors: {
  custom: {
    50: '#cd8dd0',
    500: '#b45bbb',
    950: '#000000',
  },
}
SCSS
$custom: #b45bbb;
$custom-light: #cd8dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bbb",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 295.625,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61307,
    "c": 0.16733,
    "h": 324.6
  },
  "luminance": 0.20773
}

Semantic roles & 50–950 ramp

primary
#B45BBB
secondary
#A8CDA5
accent
#D15760
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B45BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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