#B45AE6#B45AE6

#B45AE6 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.6% C 0.212 H 311.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B45AE6
RGBrgb(180, 90, 230)
HSLhsl(279, 74%, 63%)
HSVhsv(279, 61%, 90%)
CMYKcmyk(21.7%, 60.9%, 0%, 9.8%)
CIE-LABlab(54.79, 59.15, -56.36)
CIE-LCHlch(54.79, 81.70, 316.38°)
OKLaboklab(63.57% 0.1402 -0.1586)
OKLCHoklch(63.57% 0.212 311.5)
XYZxyz(36.7589, 22.7297, 77.2984)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45AE6 #8CE65A
analogous
#6E5AE6 #B45AE6 #E65AD2
triadic
#B45AE6 #E6B45A #5AE6B4
tetradic
#B45AE6 #E66E5A #8CE65A #5AD2E6
square
#B45AE6 #E66E5A #8CE65A #5AD2E6
split-complementary
#B45AE6 #D2E65A #5AE66E
monochromatic
#781AAC #9C25DE #B45AE6 #CC8FEE #E4C4F6

Accessibility & contrast

On white

3.79
#B45AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B45AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45AE6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45AE6#FFFFFF#000000##000000
##B45AE61.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#217FEA
Deuteranopia (green-blind)
#4E85E3
Tritanopia (blue-blind)
#AE7498
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b45ae6;
/* rgb */ color: rgb(180, 90, 230);
/* oklch */ color: oklch(63.6% 0.212 311.5);
Tailwind
colors: {
  custom: {
    50: '#ce8def',
    500: '#b45ae6',
    950: '#000000',
  },
}
SCSS
$custom: #b45ae6;
$custom-light: #ce8def;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ae6",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 278.571,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63572,
    "c": 0.21168,
    "h": 311.5
  },
  "luminance": 0.22729
}

Semantic roles & 50–950 ramp

primary
#B45AE6
secondary
#C7E7B5
accent
#D61056
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D16
muted
#837D84

Preview Lab

Preview with #B45AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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