#B45AE3#B45AE3

#B45AE3 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.4% C 0.209 H 312.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B45AE3
RGBrgb(180, 90, 227)
HSLhsl(279, 71%, 62%)
HSVhsv(279, 60%, 89%)
CMYKcmyk(20.7%, 60.4%, 0%, 11%)
CIE-LABlab(54.62, 58.51, -54.95)
CIE-LCHlch(54.62, 80.27, 316.80°)
OKLaboklab(63.39% 0.1402 -0.1544)
OKLCHoklch(63.39% 0.209 312.2)
XYZxyz(36.3412, 22.5626, 75.0988)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45AE3 #89E35A
analogous
#705AE3 #B45AE3 #E35ACE
triadic
#B45AE3 #E3B45A #5AE3B4
tetradic
#B45AE3 #E3705A #89E35A #5ACEE3
square
#B45AE3 #E3705A #89E35A #5ACEE3
split-complementary
#B45AE3 #CEE35A #5AE370
monochromatic
#771CA6 #9C26DA #B45AE3 #CC8EEC #E4C3F5

Accessibility & contrast

On white

3.81
#B45AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#B45AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45AE3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45AE3#FFFFFF#000000##000000
##B45AE31.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#267EE7
Deuteranopia (green-blind)
#5085E0
Tritanopia (blue-blind)
#AF7396
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b45ae3;
/* rgb */ color: rgb(180, 90, 227);
/* oklch */ color: oklch(63.4% 0.209 312.2);
Tailwind
colors: {
  custom: {
    50: '#ce8dec',
    500: '#b45ae3',
    950: '#000000',
  },
}
SCSS
$custom: #b45ae3;
$custom-light: #ce8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ae3",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 279.416,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6339,
    "c": 0.20862,
    "h": 312.2
  },
  "luminance": 0.22562
}

Semantic roles & 50–950 ramp

primary
#B45AE3
secondary
#C5E6B3
accent
#D31255
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D16
muted
#837D84

Preview Lab

Preview with #B45AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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