#B45EC0#B45EC0

#B45EC0 is a mid, vivid purple. Relative luminance 0.215; OKLCH L 62.0% C 0.167 H 322.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B45EC0
RGBrgb(180, 94, 192)
HSLhsl(293, 44%, 56%)
HSVhsv(293, 51%, 75%)
CMYKcmyk(6.2%, 51%, 0%, 24.7%)
CIE-LABlab(53.51, 49.45, -36.80)
CIE-LCHlch(53.51, 61.64, 323.35°)
OKLaboklab(61.98% 0.1329 -0.1017)
OKLCHoklch(61.98% 0.167 322.6)
XYZxyz(32.3385, 21.5160, 52.3085)
Luminance0.2151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EC0 #6AC05E
analogous
#835EC0 #B45EC0 #C05E9B
triadic
#B45EC0 #C0B45E #5EC0B4
tetradic
#B45EC0 #C0835E #6AC05E #5E9BC0
square
#B45EC0 #C0835E #6AC05E #5E9BC0
split-complementary
#B45EC0 #9BC05E #5EC083
monochromatic
#6D2E76 #963FA2 #B45EC0 #C88AD1 #DDB6E2

Accessibility & contrast

On white

3.96
#B45EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B45EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EC0
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EC0#FFFFFF#000000##000000
##B45EC01.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5079C3
Deuteranopia (green-blind)
#6A83BD
Tritanopia (blue-blind)
#B66B86
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b45ec0;
/* rgb */ color: rgb(180, 94, 192);
/* oklch */ color: oklch(62.0% 0.167 322.6);
Tailwind
colors: {
  custom: {
    50: '#cd8fd3',
    500: '#b45ec0',
    950: '#000000',
  },
}
SCSS
$custom: #b45ec0;
$custom-light: #cd8fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ec0",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 292.653,
    "s": 43.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6198,
    "c": 0.16731,
    "h": 322.6
  },
  "luminance": 0.21514
}

Semantic roles & 50–950 ramp

primary
#B45EC0
secondary
#AED1A9
accent
#D35464
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B45EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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