#B45EE8#B45EE8

#B45EE8 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.2% C 0.208 H 310.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B45EE8
RGBrgb(180, 94, 232)
HSLhsl(277, 75%, 64%)
HSVhsv(277, 59%, 91%)
CMYKcmyk(22.4%, 59.5%, 0%, 9%)
CIE-LABlab(55.62, 57.65, -56.16)
CIE-LCHlch(55.62, 80.48, 315.75°)
OKLaboklab(64.21% 0.1354 -0.158)
OKLCHoklch(64.21% 0.208 310.6)
XYZxyz(37.3878, 23.5357, 78.9016)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EE8 #92E85E
analogous
#6F5EE8 #B45EE8 #E85ED7
triadic
#B45EE8 #E8B45E #5EE8B4
tetradic
#B45EE8 #E86F5E #92E85E #5ED7E8
square
#B45EE8 #E86F5E #92E85E #5ED7E8
split-complementary
#B45EE8 #D7E85E #5EE86F
monochromatic
#7919B2 #9B28E0 #B45EE8 #CD94F0 #E6C9F7

Accessibility & contrast

On white

3.68
#B45EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B45EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EE8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EE8#FFFFFF#000000##000000
##B45EE81.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2981EC
Deuteranopia (green-blind)
#5087E5
Tritanopia (blue-blind)
#AD789A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b45ee8;
/* rgb */ color: rgb(180, 94, 232);
/* oklch */ color: oklch(64.2% 0.208 310.6);
Tailwind
colors: {
  custom: {
    50: '#ce90f0',
    500: '#b45ee8',
    950: '#000000',
  },
}
SCSS
$custom: #b45ee8;
$custom-light: #ce90f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ee8",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 277.391,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6421,
    "c": 0.20809,
    "h": 310.6
  },
  "luminance": 0.23535
}

Semantic roles & 50–950 ramp

primary
#B45EE8
secondary
#CBE9B9
accent
#D70E5A
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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