#B45EDC#B45EDC

#B45EDC is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.5% C 0.196 H 313.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B45EDC
RGBrgb(180, 94, 220)
HSLhsl(281, 64%, 62%)
HSVhsv(281, 57%, 86%)
CMYKcmyk(18.2%, 57.3%, 0%, 13.7%)
CIE-LABlab(54.95, 55.10, -50.48)
CIE-LCHlch(54.95, 74.73, 317.50°)
OKLaboklab(63.5% 0.1352 -0.1414)
OKLCHoklch(63.5% 0.196 313.7)
XYZxyz(35.7412, 22.8770, 70.2292)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EDC #86DC5E
analogous
#755EDC #B45EDC #DC5EC5
triadic
#B45EDC #DCB45E #5EDCB4
tetradic
#B45EDC #DC755E #86DC5E #5EC5DC
square
#B45EDC #DC755E #86DC5E #5EC5DC
split-complementary
#B45EDC #C5DC5E #5EDC75
monochromatic
#76229D #9C2DD0 #B45EDC #CB90E7 #E3C3F2

Accessibility & contrast

On white

3.77
#B45EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#B45EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EDC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EDC#FFFFFF#000000##000000
##B45EDC1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#397FE0
Deuteranopia (green-blind)
#5986D9
Tritanopia (blue-blind)
#B07494
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b45edc;
/* rgb */ color: rgb(180, 94, 220);
/* oklch */ color: oklch(63.5% 0.196 313.7);
Tailwind
colors: {
  custom: {
    50: '#cd8fe7',
    500: '#b45edc',
    950: '#000000',
  },
}
SCSS
$custom: #b45edc;
$custom-light: #cd8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45edc",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 280.952,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63501,
    "c": 0.19564,
    "h": 313.7
  },
  "luminance": 0.22876
}

Semantic roles & 50–950 ramp

primary
#B45EDC
secondary
#C2E2B3
accent
#CC1952
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B45EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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