#B45AEC#B45AEC

#B45AEC is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.9% C 0.218 H 310.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B45AEC
RGBrgb(180, 90, 236)
HSLhsl(277, 79%, 64%)
HSVhsv(277, 62%, 93%)
CMYKcmyk(23.7%, 61.9%, 0%, 7.5%)
CIE-LABlab(55.15, 60.43, -59.16)
CIE-LCHlch(55.15, 84.56, 315.61°)
OKLaboklab(63.94% 0.1401 -0.1668)
OKLCHoklch(63.94% 0.218 310)
XYZxyz(37.6160, 23.0725, 81.8125)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45AEC #92EC5A
analogous
#6B5AEC #B45AEC #EC5ADB
triadic
#B45AEC #ECB45A #5AECB4
tetradic
#B45AEC #EC6B5A #92EC5A #5ADBEC
square
#B45AEC #EC6B5A #92EC5A #5ADBEC
split-complementary
#B45AEC #DBEC5A #5AEC6B
monochromatic
#7915B7 #9B23E6 #B45AEC #CD91F2 #E6C8F9

Accessibility & contrast

On white

3.74
#B45AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#B45AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45AEC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45AEC#FFFFFF#000000##000000
##B45AEC1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1080F1
Deuteranopia (green-blind)
#4885E9
Tritanopia (blue-blind)
#AD779B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45aec;
/* rgb */ color: rgb(180, 90, 236);
/* oklch */ color: oklch(63.9% 0.218 310.0);
Tailwind
colors: {
  custom: {
    50: '#ce8df3',
    500: '#b45aec',
    950: '#000000',
  },
}
SCSS
$custom: #b45aec;
$custom-light: #ce8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#b45aec",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 276.986,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63943,
    "c": 0.21779,
    "h": 310
  },
  "luminance": 0.23072
}

Semantic roles & 50–950 ramp

primary
#B45AEC
secondary
#CBEBB7
accent
#DC0A5A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B45AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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