#B45CE8#B45CE8

#B45CE8 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.9% C 0.211 H 310.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B45CE8
RGBrgb(180, 92, 232)
HSLhsl(278, 75%, 64%)
HSVhsv(278, 60%, 91%)
CMYKcmyk(22.4%, 60.3%, 0%, 9%)
CIE-LABlab(55.26, 58.62, -56.73)
CIE-LCHlch(55.26, 81.57, 315.94°)
OKLaboklab(63.95% 0.1378 -0.1597)
OKLCHoklch(63.95% 0.211 310.8)
XYZxyz(37.2123, 23.1846, 78.8431)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CE8 #90E85C
analogous
#6E5CE8 #B45CE8 #E85CD6
triadic
#B45CE8 #E8B45C #5CE8B4
tetradic
#B45CE8 #E86E5C #90E85C #5CD6E8
square
#B45CE8 #E86E5C #90E85C #5CD6E8
split-complementary
#B45CE8 #D6E85C #5CE86E
monochromatic
#7819B1 #9B26E0 #B45CE8 #CD92F0 #E5C7F7

Accessibility & contrast

On white

3.73
#B45CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B45CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CE8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CE8#FFFFFF#000000##000000
##B45CE81.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2380EC
Deuteranopia (green-blind)
#4E86E5
Tritanopia (blue-blind)
#AD779A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45ce8;
/* rgb */ color: rgb(180, 92, 232);
/* oklch */ color: oklch(63.9% 0.211 310.8);
Tailwind
colors: {
  custom: {
    50: '#ce8ff0',
    500: '#b45ce8',
    950: '#000000',
  },
}
SCSS
$custom: #b45ce8;
$custom-light: #ce8ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ce8",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 277.714,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6395,
    "c": 0.21092,
    "h": 310.8
  },
  "luminance": 0.23184
}

Semantic roles & 50–950 ramp

primary
#B45CE8
secondary
#CAE9B7
accent
#D70E59
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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