#B45DEB#B45DEB

#B45DEB is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.3% C 0.213 H 310.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B45DEB
RGBrgb(180, 93, 235)
HSLhsl(277, 78%, 64%)
HSVhsv(277, 60%, 92%)
CMYKcmyk(23.4%, 60.4%, 0%, 7.8%)
CIE-LABlab(55.62, 58.78, -57.85)
CIE-LCHlch(55.62, 82.47, 315.46°)
OKLaboklab(64.26% 0.1366 -0.163)
OKLCHoklch(64.26% 0.213 310)
XYZxyz(37.7293, 23.5309, 81.1355)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DEB #94EB5D
analogous
#6D5DEB #B45DEB #EB5DDB
triadic
#B45DEB #EBB45D #5DEBB4
tetradic
#B45DEB #EB6D5D #94EB5D #5DDBEB
square
#B45DEB #EB6D5D #94EB5D #5DDBEB
split-complementary
#B45DEB #DBEB5D #5DEB6D
monochromatic
#7917B7 #9B27E4 #B45DEB #CD93F2 #E6CAF8

Accessibility & contrast

On white

3.68
#B45DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B45DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DEB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DEB#FFFFFF#000000##000000
##B45DEB1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2081EF
Deuteranopia (green-blind)
#4C87E8
Tritanopia (blue-blind)
#AD789C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b45deb;
/* rgb */ color: rgb(180, 93, 235);
/* oklch */ color: oklch(64.3% 0.213 310.0);
Tailwind
colors: {
  custom: {
    50: '#ce8ff2',
    500: '#b45deb',
    950: '#000000',
  },
}
SCSS
$custom: #b45deb;
$custom-light: #ce8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b45deb",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 276.761,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64263,
    "c": 0.21262,
    "h": 310
  },
  "luminance": 0.2353
}

Semantic roles & 50–950 ramp

primary
#B45DEB
secondary
#CCEBB9
accent
#DA0B5B
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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