#B45CE6#B45CE6

#B45CE6 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.8% C 0.209 H 311.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B45CE6
RGBrgb(180, 92, 230)
HSLhsl(278, 73%, 63%)
HSVhsv(278, 60%, 90%)
CMYKcmyk(21.7%, 60%, 0%, 9.8%)
CIE-LABlab(55.15, 58.19, -55.79)
CIE-LCHlch(55.15, 80.62, 316.20°)
OKLaboklab(63.83% 0.1378 -0.1569)
OKLCHoklch(63.83% 0.209 311.3)
XYZxyz(36.9298, 23.0716, 77.3554)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CE6 #8EE65C
analogous
#6F5CE6 #B45CE6 #E65CD3
triadic
#B45CE6 #E6B45C #5CE6B4
tetradic
#B45CE6 #E66F5C #8EE65C #5CD3E6
square
#B45CE6 #E66F5C #8EE65C #5CD3E6
split-complementary
#B45CE6 #D3E65C #5CE66F
monochromatic
#781BAD #9C27DE #B45CE6 #CC91EE #E5C6F6

Accessibility & contrast

On white

3.74
#B45CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#B45CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CE6
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CE6#FFFFFF#000000##000000
##B45CE61.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2780EA
Deuteranopia (green-blind)
#5086E3
Tritanopia (blue-blind)
#AE7699
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45ce6;
/* rgb */ color: rgb(180, 92, 230);
/* oklch */ color: oklch(63.8% 0.209 311.3);
Tailwind
colors: {
  custom: {
    50: '#ce8eee',
    500: '#b45ce6',
    950: '#000000',
  },
}
SCSS
$custom: #b45ce6;
$custom-light: #ce8eee;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ce6",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 278.261,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63829,
    "c": 0.20886,
    "h": 311.3
  },
  "luminance": 0.23071
}

Semantic roles & 50–950 ramp

primary
#B45CE6
secondary
#C8E8B6
accent
#D61058
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B45CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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