#B45ECB#B45ECB

#B45ECB is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.6% C 0.178 H 318.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B45ECB
RGBrgb(180, 94, 203)
HSLhsl(287, 51%, 58%)
HSVhsv(287, 54%, 80%)
CMYKcmyk(11.3%, 53.7%, 0%, 20.4%)
CIE-LABlab(54.05, 51.61, -42.25)
CIE-LCHlch(54.05, 66.70, 320.70°)
OKLaboklab(62.55% 0.1341 -0.1174)
OKLCHoklch(62.55% 0.178 318.8)
XYZxyz(33.6032, 22.0218, 58.9689)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45ECB #75CB5E
analogous
#7D5ECB #B45ECB #CB5EAC
triadic
#B45ECB #CBB45E #5ECBB4
tetradic
#B45ECB #CB7D5E #75CB5E #5EACCB
square
#B45ECB #CB7D5E #75CB5E #5EACCB
split-complementary
#B45ECB #ACCB5E #5ECB7D
monochromatic
#712B84 #993AB2 #B45ECB #CA8CDA #DFBBE9

Accessibility & contrast

On white

3.89
#B45ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#B45ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45ECB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45ECB#FFFFFF#000000##000000
##B45ECB1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCF
Deuteranopia (green-blind)
#6484C8
Tritanopia (blue-blind)
#B46E8C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b45ecb;
/* rgb */ color: rgb(180, 94, 203);
/* oklch */ color: oklch(62.6% 0.178 318.8);
Tailwind
colors: {
  custom: {
    50: '#cd8fdb',
    500: '#b45ecb',
    950: '#000000',
  },
}
SCSS
$custom: #b45ecb;
$custom-light: #cd8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ecb",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 287.339,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62554,
    "c": 0.17826,
    "h": 318.8
  },
  "luminance": 0.22021
}

Semantic roles & 50–950 ramp

primary
#B45ECB
secondary
#B6D8AD
accent
#DB4D6B
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B45ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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