#B45AEA#B45AEA

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

Color values

HEX#B45AEA
RGBrgb(180, 90, 234)
HSLhsl(278, 77%, 64%)
HSVhsv(278, 62%, 92%)
CMYKcmyk(23.1%, 61.5%, 0%, 8.2%)
CIE-LABlab(55.03, 60.00, -58.23)
CIE-LCHlch(55.03, 83.61, 315.86°)
OKLaboklab(63.82% 0.1401 -0.164)
OKLCHoklch(63.82% 0.216 310.5)
XYZxyz(37.3270, 22.9569, 80.2907)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45AEA #90EA5A
analogous
#6C5AEA #B45AEA #EA5AD8
triadic
#B45AEA #EAB45A #5AEAB4
tetradic
#B45AEA #EA6C5A #90EA5A #5AD8EA
square
#B45AEA #EA6C5A #90EA5A #5AD8EA
split-complementary
#B45AEA #D8EA5A #5AEA6C
monochromatic
#7817B3 #9B24E3 #B45AEA #CD90F1 #E5C7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45AEA#FFFFFF#000000##000000
##B45AEA1.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)
#1780EE
Deuteranopia (green-blind)
#4A85E7
Tritanopia (blue-blind)
#AD769A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45aea;
/* rgb */ color: rgb(180, 90, 234);
/* oklch */ color: oklch(63.8% 0.216 310.5);
Tailwind
colors: {
  custom: {
    50: '#ce8df1',
    500: '#b45aea',
    950: '#000000',
  },
}
SCSS
$custom: #b45aea;
$custom-light: #ce8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#b45aea",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 277.5,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63818,
    "c": 0.21576,
    "h": 310.5
  },
  "luminance": 0.22956
}

Semantic roles & 50–950 ramp

primary
#B45AEA
secondary
#CAE9B6
accent
#DA0C59
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B45AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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