#B45EC2#B45EC2

#B45EC2 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.1% C 0.169 H 321.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B45EC2
RGBrgb(180, 94, 194)
HSLhsl(292, 45%, 56%)
HSVhsv(292, 52%, 76%)
CMYKcmyk(7.2%, 51.5%, 0%, 23.9%)
CIE-LABlab(53.61, 49.83, -37.79)
CIE-LCHlch(53.61, 62.54, 322.82°)
OKLaboklab(62.08% 0.1331 -0.1045)
OKLCHoklch(62.08% 0.169 321.9)
XYZxyz(32.5616, 21.6052, 53.4835)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EC2 #6CC25E
analogous
#825EC2 #B45EC2 #C25E9E
triadic
#B45EC2 #C2B45E #5EC2B4
tetradic
#B45EC2 #C2825E #6CC25E #5E9EC2
square
#B45EC2 #C2825E #6CC25E #5E9EC2
split-complementary
#B45EC2 #9EC25E #5EC282
monochromatic
#6E2E78 #963EA4 #B45EC2 #C98AD3 #DDB7E4

Accessibility & contrast

On white

3.95
#B45EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#B45EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EC2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EC2#FFFFFF#000000##000000
##B45EC21.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7AC5
Deuteranopia (green-blind)
#6983BF
Tritanopia (blue-blind)
#B66B87
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b45ec2;
/* rgb */ color: rgb(180, 94, 194);
/* oklch */ color: oklch(62.1% 0.169 321.9);
Tailwind
colors: {
  custom: {
    50: '#cd8fd5',
    500: '#b45ec2',
    950: '#000000',
  },
}
SCSS
$custom: #b45ec2;
$custom-light: #cd8fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ec2",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 291.6,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62082,
    "c": 0.16927,
    "h": 321.9
  },
  "luminance": 0.21604
}

Semantic roles & 50–950 ramp

primary
#B45EC2
secondary
#AFD2A9
accent
#D55365
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B45EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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