#B45BE7#B45BE7

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

Color values

HEX#B45BE7
RGBrgb(180, 91, 231)
HSLhsl(278, 74%, 63%)
HSVhsv(278, 61%, 91%)
CMYKcmyk(22.1%, 60.6%, 0%, 9.4%)
CIE-LABlab(55.03, 58.88, -56.55)
CIE-LCHlch(55.03, 81.64, 316.16°)
OKLaboklab(63.76% 0.139 -0.1591)
OKLCHoklch(63.76% 0.211 311.1)
XYZxyz(36.9846, 22.9558, 78.0684)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BE7 #8EE75B
analogous
#6E5BE7 #B45BE7 #E75BD4
triadic
#B45BE7 #E7B45B #5BE7B4
tetradic
#B45BE7 #E76E5B #8EE75B #5BD4E7
square
#B45BE7 #E76E5B #8EE75B #5BD4E7
split-complementary
#B45BE7 #D4E75B #5BE76E
monochromatic
#7819AE #9C26DF #B45BE7 #CC90EF #E5C6F7

Accessibility & contrast

On white

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

On black

5.59
#B45BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BE7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BE7#FFFFFF#000000##000000
##B45BE71.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#227FEB
Deuteranopia (green-blind)
#4E85E4
Tritanopia (blue-blind)
#AE7699
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45be7;
/* rgb */ color: rgb(180, 91, 231);
/* oklch */ color: oklch(63.8% 0.211 311.1);
Tailwind
colors: {
  custom: {
    50: '#ce8eef',
    500: '#b45be7',
    950: '#000000',
  },
}
SCSS
$custom: #b45be7;
$custom-light: #ce8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#b45be7",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 278.143,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63761,
    "c": 0.2113,
    "h": 311.1
  },
  "luminance": 0.22955
}

Semantic roles & 50–950 ramp

primary
#B45BE7
secondary
#C8E8B6
accent
#D70F58
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B45BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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