#B45BE8#B45BE8

#B45BE8 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.8% C 0.212 H 310.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B45BE8
RGBrgb(180, 91, 232)
HSLhsl(278, 75%, 63%)
HSVhsv(278, 61%, 91%)
CMYKcmyk(22.4%, 60.8%, 0%, 9%)
CIE-LABlab(55.09, 59.10, -57.01)
CIE-LCHlch(55.09, 82.11, 316.03°)
OKLaboklab(63.82% 0.139 -0.1605)
OKLCHoklch(63.82% 0.212 310.9)
XYZxyz(37.1262, 23.0125, 78.8144)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BE8 #8FE85B
analogous
#6D5BE8 #B45BE8 #E85BD6
triadic
#B45BE8 #E8B45B #5BE8B4
tetradic
#B45BE8 #E86D5B #8FE85B #5BD6E8
square
#B45BE8 #E86D5B #8FE85B #5BD6E8
split-complementary
#B45BE8 #D6E85B #5BE86D
monochromatic
#7819B0 #9B25E0 #B45BE8 #CD91F0 #E5C6F7

Accessibility & contrast

On white

3.75
#B45BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B45BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BE8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BE8#FFFFFF#000000##000000
##B45BE81.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2080EC
Deuteranopia (green-blind)
#4D85E5
Tritanopia (blue-blind)
#AE7699
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45be8;
/* rgb */ color: rgb(180, 91, 232);
/* oklch */ color: oklch(63.8% 0.212 310.9);
Tailwind
colors: {
  custom: {
    50: '#ce8ef0',
    500: '#b45be8',
    950: '#000000',
  },
}
SCSS
$custom: #b45be8;
$custom-light: #ce8ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45be8",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 277.872,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63822,
    "c": 0.21232,
    "h": 310.9
  },
  "luminance": 0.23012
}

Semantic roles & 50–950 ramp

primary
#B45BE8
secondary
#C9E9B6
accent
#D80E58
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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