#B45AEF#B45AEF

#B45AEF is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.1% C 0.221 H 309.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B45AEF
RGBrgb(180, 90, 239)
HSLhsl(276, 82%, 65%)
HSVhsv(276, 62%, 94%)
CMYKcmyk(24.7%, 62.3%, 0%, 6.3%)
CIE-LABlab(55.33, 61.08, -60.54)
CIE-LCHlch(55.33, 86.00, 315.25°)
OKLaboklab(64.13% 0.14 -0.1708)
OKLCHoklch(64.13% 0.221 309.3)
XYZxyz(38.0555, 23.2483, 84.1272)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45AEF #95EF5A
analogous
#6A5AEF #B45AEF #EF5ADF
triadic
#B45AEF #EFB45A #5AEFB4
tetradic
#B45AEF #EF6A5A #95EF5A #5ADFEF
square
#B45AEF #EF6A5A #95EF5A #5ADFEF
split-complementary
#B45AEF #DFEF5A #5AEF6A
monochromatic
#7912BC #9B22EA #B45AEF #CD92F4 #E7CAFA

Accessibility & contrast

On white

3.72
#B45AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#B45AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45AEF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45AEF#FFFFFF#000000##000000
##B45AEF1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0181F4
Deuteranopia (green-blind)
#4586EC
Tritanopia (blue-blind)
#AC789D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45aef;
/* rgb */ color: rgb(180, 90, 239);
/* oklch */ color: oklch(64.1% 0.221 309.3);
Tailwind
colors: {
  custom: {
    50: '#ce8ef5',
    500: '#b45aef',
    950: '#000000',
  },
}
SCSS
$custom: #b45aef;
$custom-light: #ce8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#b45aef",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 276.242,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64131,
    "c": 0.22086,
    "h": 309.3
  },
  "luminance": 0.23248
}

Semantic roles & 50–950 ramp

primary
#B45AEF
secondary
#CDECB9
accent
#DF075C
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140D17
muted
#837D85

Preview Lab

Preview with #B45AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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