#B45BE6#B45BE6

#B45BE6 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.7% C 0.210 H 311.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B45BE6
RGBrgb(180, 91, 230)
HSLhsl(278, 74%, 63%)
HSVhsv(278, 60%, 90%)
CMYKcmyk(21.7%, 60.4%, 0%, 9.8%)
CIE-LABlab(54.97, 58.67, -56.08)
CIE-LCHlch(54.97, 81.16, 316.29°)
OKLaboklab(63.7% 0.139 -0.1578)
OKLCHoklch(63.7% 0.21 311.4)
XYZxyz(36.8438, 22.8995, 77.3267)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BE6 #8DE65B
analogous
#6E5BE6 #B45BE6 #E65BD3
triadic
#B45BE6 #E6B45B #5BE6B4
tetradic
#B45BE6 #E66E5B #8DE65B #5BD3E6
square
#B45BE6 #E66E5B #8DE65B #5BD3E6
split-complementary
#B45BE6 #D3E65B #5BE66E
monochromatic
#781AAC #9C26DE #B45BE6 #CC90EE #E5C5F6

Accessibility & contrast

On white

3.76
#B45BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#B45BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BE6
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BE6#FFFFFF#000000##000000
##B45BE61.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#247FEA
Deuteranopia (green-blind)
#4F85E3
Tritanopia (blue-blind)
#AE7598
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45be6;
/* rgb */ color: rgb(180, 91, 230);
/* oklch */ color: oklch(63.7% 0.210 311.4);
Tailwind
colors: {
  custom: {
    50: '#ce8eee',
    500: '#b45be6',
    950: '#000000',
  },
}
SCSS
$custom: #b45be6;
$custom-light: #ce8eee;
$custom-dark: #000000;
JSON
{
  "hex": "#b45be6",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 278.417,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.637,
    "c": 0.21027,
    "h": 311.4
  },
  "luminance": 0.22899
}

Semantic roles & 50–950 ramp

primary
#B45BE6
secondary
#C7E7B5
accent
#D61057
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B45BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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