#B45EC7#B45EC7

#B45EC7 is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.3% C 0.174 H 320.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B45EC7
RGBrgb(180, 94, 199)
HSLhsl(289, 48%, 57%)
HSVhsv(289, 53%, 78%)
CMYKcmyk(9.5%, 52.8%, 0%, 22%)
CIE-LABlab(53.85, 50.81, -40.28)
CIE-LCHlch(53.85, 64.84, 321.60°)
OKLaboklab(62.34% 0.1337 -0.1117)
OKLCHoklch(62.34% 0.174 320.1)
XYZxyz(33.1326, 21.8336, 56.4908)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EC7 #71C75E
analogous
#805EC7 #B45EC7 #C75EA5
triadic
#B45EC7 #C7B45E #5EC7B4
tetradic
#B45EC7 #C7805E #71C75E #5EA5C7
square
#B45EC7 #C7805E #71C75E #5EA5C7
split-complementary
#B45EC7 #A5C75E #5EC780
monochromatic
#702C7F #983CAC #B45EC7 #C98BD7 #DEB9E7

Accessibility & contrast

On white

3.91
#B45EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#B45EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EC7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EC7#FFFFFF#000000##000000
##B45EC71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCA
Deuteranopia (green-blind)
#6684C4
Tritanopia (blue-blind)
#B56D8A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b45ec7;
/* rgb */ color: rgb(180, 94, 199);
/* oklch */ color: oklch(62.3% 0.174 320.1);
Tailwind
colors: {
  custom: {
    50: '#cd8fd8',
    500: '#b45ec7',
    950: '#000000',
  },
}
SCSS
$custom: #b45ec7;
$custom-light: #cd8fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ec7",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 289.143,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62342,
    "c": 0.17424,
    "h": 320.1
  },
  "luminance": 0.21832
}

Semantic roles & 50–950 ramp

primary
#B45EC7
secondary
#B3D6AB
accent
#D85068
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B45EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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