#B45CEA#B45CEA

#B45CEA is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.1% C 0.213 H 310.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B45CEA
RGBrgb(180, 92, 234)
HSLhsl(277, 77%, 64%)
HSVhsv(277, 61%, 92%)
CMYKcmyk(23.1%, 60.7%, 0%, 8.2%)
CIE-LABlab(55.38, 59.05, -57.66)
CIE-LCHlch(55.38, 82.53, 315.68°)
OKLaboklab(64.07% 0.1378 -0.1624)
OKLCHoklch(64.07% 0.213 310.3)
XYZxyz(37.4980, 23.2989, 80.3477)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CEA #92EA5C
analogous
#6D5CEA #B45CEA #EA5CD9
triadic
#B45CEA #EAB45C #5CEAB4
tetradic
#B45CEA #EA6D5C #92EA5C #5CD9EA
square
#B45CEA #EA6D5C #92EA5C #5CD9EA
split-complementary
#B45CEA #D9EA5C #5CEA6D
monochromatic
#7917B4 #9B26E3 #B45CEA #CD92F1 #E6C8F8

Accessibility & contrast

On white

3.71
#B45CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B45CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CEA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CEA#FFFFFF#000000##000000
##B45CEA1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F81EE
Deuteranopia (green-blind)
#4C86E7
Tritanopia (blue-blind)
#AD779B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b45cea;
/* rgb */ color: rgb(180, 92, 234);
/* oklch */ color: oklch(64.1% 0.213 310.3);
Tailwind
colors: {
  custom: {
    50: '#ce8ff1',
    500: '#b45cea',
    950: '#000000',
  },
}
SCSS
$custom: #b45cea;
$custom-light: #ce8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cea",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 277.183,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64073,
    "c": 0.21298,
    "h": 310.3
  },
  "luminance": 0.23298
}

Semantic roles & 50–950 ramp

primary
#B45CEA
secondary
#CBEAB8
accent
#D90C5A
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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