#B45AE8#B45AE8

#B45AE8 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.7% C 0.214 H 311.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B45AE8
RGBrgb(180, 90, 232)
HSLhsl(278, 76%, 63%)
HSVhsv(278, 61%, 91%)
CMYKcmyk(22.4%, 61.2%, 0%, 9%)
CIE-LABlab(54.91, 59.57, -57.29)
CIE-LCHlch(54.91, 82.65, 316.12°)
OKLaboklab(63.7% 0.1402 -0.1613)
OKLCHoklch(63.7% 0.214 311)
XYZxyz(37.0413, 22.8426, 78.7861)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45AE8 #8EE85A
analogous
#6D5AE8 #B45AE8 #E85AD5
triadic
#B45AE8 #E8B45A #5AE8B4
tetradic
#B45AE8 #E86D5A #8EE85A #5AD5E8
square
#B45AE8 #E86D5A #8EE85A #5AD5E8
split-complementary
#B45AE8 #D5E85A #5AE86D
monochromatic
#7818AF #9C24E1 #B45AE8 #CC90EF #E5C5F7

Accessibility & contrast

On white

3.77
#B45AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B45AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45AE8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45AE8#FFFFFF#000000##000000
##B45AE81.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7FEC
Deuteranopia (green-blind)
#4C85E5
Tritanopia (blue-blind)
#AE7599
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b45ae8;
/* rgb */ color: rgb(180, 90, 232);
/* oklch */ color: oklch(63.7% 0.214 311.0);
Tailwind
colors: {
  custom: {
    50: '#ce8df0',
    500: '#b45ae8',
    950: '#000000',
  },
}
SCSS
$custom: #b45ae8;
$custom-light: #ce8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ae8",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 278.028,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63695,
    "c": 0.21372,
    "h": 311
  },
  "luminance": 0.22842
}

Semantic roles & 50–950 ramp

primary
#B45AE8
secondary
#C8E8B5
accent
#D80E58
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B45AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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