#B45BE5#B45BE5

#B45BE5 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.6% C 0.209 H 311.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B45BE5
RGBrgb(180, 91, 229)
HSLhsl(279, 73%, 63%)
HSVhsv(279, 60%, 90%)
CMYKcmyk(21.4%, 60.3%, 0%, 10.2%)
CIE-LABlab(54.91, 58.46, -55.61)
CIE-LCHlch(54.91, 80.68, 316.43°)
OKLaboklab(63.64% 0.139 -0.1564)
OKLCHoklch(63.64% 0.209 311.6)
XYZxyz(36.7038, 22.8435, 76.5893)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BE5 #8CE55B
analogous
#6F5BE5 #B45BE5 #E55BD1
triadic
#B45BE5 #E5B45B #5BE5B4
tetradic
#B45BE5 #E56F5B #8CE55B #5BD1E5
square
#B45BE5 #E56F5B #8CE55B #5BD1E5
split-complementary
#B45BE5 #D1E55B #5BE56F
monochromatic
#781BAB #9C26DD #B45BE5 #CC90ED #E4C5F6

Accessibility & contrast

On white

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

On black

5.57
#B45BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BE5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BE5#FFFFFF#000000##000000
##B45BE51.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#267FE9
Deuteranopia (green-blind)
#4F85E2
Tritanopia (blue-blind)
#AE7598
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b45be5;
/* rgb */ color: rgb(180, 91, 229);
/* oklch */ color: oklch(63.6% 0.209 311.6);
Tailwind
colors: {
  custom: {
    50: '#ce8eee',
    500: '#b45be5',
    950: '#000000',
  },
}
SCSS
$custom: #b45be5;
$custom-light: #ce8eee;
$custom-dark: #000000;
JSON
{
  "hex": "#b45be5",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 278.696,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63639,
    "c": 0.20925,
    "h": 311.6
  },
  "luminance": 0.22843
}

Semantic roles & 50–950 ramp

primary
#B45BE5
secondary
#C7E7B5
accent
#D51156
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D16
muted
#837D84

Preview Lab

Preview with #B45BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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