#B45BEF#B45BEF

#B45BEF is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.3% C 0.220 H 309.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B45BEF
RGBrgb(180, 91, 239)
HSLhsl(276, 82%, 65%)
HSVhsv(276, 62%, 94%)
CMYKcmyk(24.7%, 61.9%, 0%, 6.3%)
CIE-LABlab(55.50, 60.60, -60.27)
CIE-LCHlch(55.50, 85.47, 315.16°)
OKLaboklab(64.26% 0.1388 -0.17)
OKLCHoklch(64.26% 0.22 309.2)
XYZxyz(38.1404, 23.4181, 84.1555)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BEF #96EF5B
analogous
#6A5BEF #B45BEF #EF5BE0
triadic
#B45BEF #EFB45B #5BEFB4
tetradic
#B45BEF #EF6A5B #96EF5B #5BE0EF
square
#B45BEF #EF6A5B #96EF5B #5BE0EF
split-complementary
#B45BEF #E0EF5B #5BEF6A
monochromatic
#7912BD #9A23EA #B45BEF #CE93F4 #E7CBFA

Accessibility & contrast

On white

3.69
#B45BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#B45BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BEF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BEF#FFFFFF#000000##000000
##B45BEF1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0981F4
Deuteranopia (green-blind)
#4686EC
Tritanopia (blue-blind)
#AC789D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b45bef;
/* rgb */ color: rgb(180, 91, 239);
/* oklch */ color: oklch(64.3% 0.220 309.2);
Tailwind
colors: {
  custom: {
    50: '#ce8ef5',
    500: '#b45bef',
    950: '#000000',
  },
}
SCSS
$custom: #b45bef;
$custom-light: #ce8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bef",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 276.081,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64256,
    "c": 0.2195,
    "h": 309.2
  },
  "luminance": 0.23417
}

Semantic roles & 50–950 ramp

primary
#B45BEF
secondary
#CEECBA
accent
#DF075D
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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