#B45CE3#B45CE3

#B45CE3 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.6% C 0.206 H 312.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B45CE3
RGBrgb(180, 92, 227)
HSLhsl(279, 71%, 63%)
HSVhsv(279, 59%, 89%)
CMYKcmyk(20.7%, 59.5%, 0%, 11%)
CIE-LABlab(54.97, 57.55, -54.38)
CIE-LCHlch(54.97, 79.18, 316.62°)
OKLaboklab(63.65% 0.1378 -0.1528)
OKLCHoklch(63.65% 0.206 312.1)
XYZxyz(36.5122, 22.9045, 75.1558)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CE3 #8BE35C
analogous
#705CE3 #B45CE3 #E35CCF
triadic
#B45CE3 #E3B45C #5CE3B4
tetradic
#B45CE3 #E3705C #8BE35C #5CCFE3
square
#B45CE3 #E3705C #8BE35C #5CCFE3
split-complementary
#B45CE3 #CFE35C #5CE370
monochromatic
#771DA8 #9C28DA #B45CE3 #CC90EC #E4C4F5

Accessibility & contrast

On white

3.76
#B45CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#B45CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CE3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CE3#FFFFFF#000000##000000
##B45CE31.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7FE7
Deuteranopia (green-blind)
#5285E0
Tritanopia (blue-blind)
#AF7597
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45ce3;
/* rgb */ color: rgb(180, 92, 227);
/* oklch */ color: oklch(63.6% 0.206 312.1);
Tailwind
colors: {
  custom: {
    50: '#ce8eec',
    500: '#b45ce3',
    950: '#000000',
  },
}
SCSS
$custom: #b45ce3;
$custom-light: #ce8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ce3",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 279.111,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63648,
    "c": 0.20578,
    "h": 312.1
  },
  "luminance": 0.22904
}

Semantic roles & 50–950 ramp

primary
#B45CE3
secondary
#C6E6B5
accent
#D31356
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B45CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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