#B45ED2#B45ED2

#B45ED2 is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.9% C 0.185 H 316.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B45ED2
RGBrgb(180, 94, 210)
HSLhsl(284, 56%, 60%)
HSVhsv(284, 55%, 82%)
CMYKcmyk(14.3%, 55.2%, 0%, 17.6%)
CIE-LABlab(54.41, 53.02, -45.67)
CIE-LCHlch(54.41, 69.98, 319.26°)
OKLaboklab(62.94% 0.1347 -0.1274)
OKLCHoklch(62.94% 0.185 316.6)
XYZxyz(34.4562, 22.3630, 63.4617)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45ED2 #7CD25E
analogous
#7A5ED2 #B45ED2 #D25EB6
triadic
#B45ED2 #D2B45E #5ED2B4
tetradic
#B45ED2 #D27A5E #7CD25E #5EB6D2
square
#B45ED2 #D27A5E #7CD25E #5EB6D2
split-complementary
#B45ED2 #B6D25E #5ED27A
monochromatic
#73288E #9A35BE #B45ED2 #CA8EDF #E1BEED

Accessibility & contrast

On white

3.84
#B45ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B45ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45ED2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45ED2#FFFFFF#000000##000000
##B45ED21.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#427DD6
Deuteranopia (green-blind)
#6085CF
Tritanopia (blue-blind)
#B3708F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b45ed2;
/* rgb */ color: rgb(180, 94, 210);
/* oklch */ color: oklch(62.9% 0.185 316.6);
Tailwind
colors: {
  custom: {
    50: '#cd8fe0',
    500: '#b45ed2',
    950: '#000000',
  },
}
SCSS
$custom: #b45ed2;
$custom-light: #cd8fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ed2",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 284.483,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62936,
    "c": 0.18537,
    "h": 316.6
  },
  "luminance": 0.22362
}

Semantic roles & 50–950 ramp

primary
#B45ED2
secondary
#BBDCAF
accent
#E0486F
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B45ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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