#B45EDB#B45EDB

#B45EDB is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.4% C 0.195 H 314.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B45EDB
RGBrgb(180, 94, 219)
HSLhsl(281, 63%, 61%)
HSVhsv(281, 57%, 86%)
CMYKcmyk(17.8%, 57.1%, 0%, 14.1%)
CIE-LABlab(54.89, 54.89, -50.00)
CIE-LCHlch(54.89, 74.25, 317.66°)
OKLaboklab(63.44% 0.1352 -0.14)
OKLCHoklch(63.44% 0.195 314)
XYZxyz(35.6092, 22.8242, 69.5338)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EDB #85DB5E
analogous
#765EDB #B45EDB #DB5EC4
triadic
#B45EDB #DBB45E #5EDBB4
tetradic
#B45EDB #DB765E #85DB5E #5EC4DB
square
#B45EDB #DB765E #85DB5E #5EC4DB
split-complementary
#B45EDB #C4DB5E #5EDB76
monochromatic
#76239C #9C2ECE #B45EDB #CB90E6 #E3C2F1

Accessibility & contrast

On white

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

On black

5.56
#B45EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EDB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EDB#FFFFFF#000000##000000
##B45EDB1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FDF
Deuteranopia (green-blind)
#5A86D8
Tritanopia (blue-blind)
#B17394
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b45edb;
/* rgb */ color: rgb(180, 94, 219);
/* oklch */ color: oklch(63.4% 0.195 314.0);
Tailwind
colors: {
  custom: {
    50: '#cd8fe7',
    500: '#b45edb',
    950: '#000000',
  },
}
SCSS
$custom: #b45edb;
$custom-light: #cd8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45edb",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 219
  },
  "hsl": {
    "h": 281.28,
    "s": 63.452,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63443,
    "c": 0.19461,
    "h": 314
  },
  "luminance": 0.22823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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