#B45EEB#B45EEB

#B45EEB is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.4% C 0.211 H 309.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B45EEB
RGBrgb(180, 94, 235)
HSLhsl(277, 78%, 65%)
HSVhsv(277, 60%, 92%)
CMYKcmyk(23.4%, 60%, 0%, 7.8%)
CIE-LABlab(55.79, 58.30, -57.56)
CIE-LCHlch(55.79, 81.92, 315.36°)
OKLaboklab(64.39% 0.1354 -0.1621)
OKLCHoklch(64.39% 0.211 309.9)
XYZxyz(37.8176, 23.7076, 81.1650)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EEB #95EB5E
analogous
#6E5EEB #B45EEB #EB5EDB
triadic
#B45EEB #EBB45E #5EEBB4
tetradic
#B45EEB #EB6E5E #95EB5E #5EDBEB
square
#B45EEB #EB6E5E #95EB5E #5EDBEB
split-complementary
#B45EEB #DBEB5E #5EEB6E
monochromatic
#7917B8 #9B28E4 #B45EEB #CD94F2 #E7CBF9

Accessibility & contrast

On white

3.66
#B45EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#B45EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EEB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EEB#FFFFFF#000000##000000
##B45EEB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382EF
Deuteranopia (green-blind)
#4D87E8
Tritanopia (blue-blind)
#AD799C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b45eeb;
/* rgb */ color: rgb(180, 94, 235);
/* oklch */ color: oklch(64.4% 0.211 309.9);
Tailwind
colors: {
  custom: {
    50: '#ce90f2',
    500: '#b45eeb',
    950: '#000000',
  },
}
SCSS
$custom: #b45eeb;
$custom-light: #ce90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b45eeb",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 276.596,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64393,
    "c": 0.21121,
    "h": 309.9
  },
  "luminance": 0.23707
}

Semantic roles & 50–950 ramp

primary
#B45EEB
secondary
#CDEBBA
accent
#DA0B5C
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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