#B45DE8#B45DE8

#B45DE8 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.1% C 0.210 H 310.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B45DE8
RGBrgb(180, 93, 232)
HSLhsl(278, 75%, 64%)
HSVhsv(278, 60%, 91%)
CMYKcmyk(22.4%, 59.9%, 0%, 9%)
CIE-LABlab(55.44, 58.13, -56.45)
CIE-LCHlch(55.44, 81.03, 315.84°)
OKLaboklab(64.08% 0.1366 -0.1588)
OKLCHoklch(64.08% 0.21 310.7)
XYZxyz(37.2995, 23.3590, 78.8721)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DE8 #91E85D
analogous
#6E5DE8 #B45DE8 #E85DD6
triadic
#B45DE8 #E8B45D #5DE8B4
tetradic
#B45DE8 #E86E5D #91E85D #5DD6E8
square
#B45DE8 #E86E5D #91E85D #5DD6E8
split-complementary
#B45DE8 #D6E85D #5DE86E
monochromatic
#7819B1 #9B27E0 #B45DE8 #CD93F0 #E6C8F7

Accessibility & contrast

On white

3.70
#B45DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#B45DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DE8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DE8#FFFFFF#000000##000000
##B45DE81.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2681EC
Deuteranopia (green-blind)
#4F86E5
Tritanopia (blue-blind)
#AD779A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b45de8;
/* rgb */ color: rgb(180, 93, 232);
/* oklch */ color: oklch(64.1% 0.210 310.7);
Tailwind
colors: {
  custom: {
    50: '#ce8ff0',
    500: '#b45de8',
    950: '#000000',
  },
}
SCSS
$custom: #b45de8;
$custom-light: #ce8ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45de8",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 277.554,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6408,
    "c": 0.20951,
    "h": 310.7
  },
  "luminance": 0.23358
}

Semantic roles & 50–950 ramp

primary
#B45DE8
secondary
#CAE9B8
accent
#D70E59
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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