#B45ECE#B45ECE

#B45ECE is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.7% C 0.181 H 317.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B45ECE
RGBrgb(180, 94, 206)
HSLhsl(286, 53%, 59%)
HSVhsv(286, 54%, 81%)
CMYKcmyk(12.6%, 54.4%, 0%, 19.2%)
CIE-LABlab(54.20, 52.21, -43.72)
CIE-LCHlch(54.20, 68.10, 320.06°)
OKLaboklab(62.72% 0.1344 -0.1217)
OKLCHoklch(62.72% 0.181 317.8)
XYZxyz(33.9641, 22.1662, 60.8700)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45ECE #78CE5E
analogous
#7C5ECE #B45ECE #CE5EB0
triadic
#B45ECE #CEB45E #5ECEB4
tetradic
#B45ECE #CE7C5E #78CE5E #5EB0CE
square
#B45ECE #CE7C5E #78CE5E #5EB0CE
split-complementary
#B45ECE #B0CE5E #5ECE7C
monochromatic
#722988 #9A38B7 #B45ECE #CA8DDC #E0BCEB

Accessibility & contrast

On white

3.87
#B45ECE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B45ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45ECE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45ECE#FFFFFF#000000##000000
##B45ECE1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD2
Deuteranopia (green-blind)
#6284CB
Tritanopia (blue-blind)
#B46F8D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b45ece;
/* rgb */ color: rgb(180, 94, 206);
/* oklch */ color: oklch(62.7% 0.181 317.8);
Tailwind
colors: {
  custom: {
    50: '#cd8fdd',
    500: '#b45ece',
    950: '#000000',
  },
}
SCSS
$custom: #b45ece;
$custom-light: #cd8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ece",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 206
  },
  "hsl": {
    "h": 286.071,
    "s": 53.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62716,
    "c": 0.18129,
    "h": 317.8
  },
  "luminance": 0.22165
}

Semantic roles & 50–950 ramp

primary
#B45ECE
secondary
#B8DAAE
accent
#DD4B6D
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B45ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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