#B45EE2#B45EE2

#B45EE2 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.9% C 0.202 H 312.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B45EE2
RGBrgb(180, 94, 226)
HSLhsl(279, 69%, 63%)
HSVhsv(279, 58%, 89%)
CMYKcmyk(20.4%, 58.4%, 0%, 11.4%)
CIE-LABlab(55.28, 56.36, -53.33)
CIE-LCHlch(55.28, 77.60, 316.58°)
OKLaboklab(63.85% 0.1354 -0.1497)
OKLCHoklch(63.85% 0.202 312.1)
XYZxyz(36.5501, 23.2006, 74.4895)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EE2 #8CE25E
analogous
#725EE2 #B45EE2 #E25ECE
triadic
#B45EE2 #E2B45E #5EE2B4
tetradic
#B45EE2 #E2725E #8CE25E #5ECEE2
square
#B45EE2 #E2725E #8CE25E #5ECEE2
split-complementary
#B45EE2 #CEE25E #5EE272
monochromatic
#781EA7 #9C2AD9 #B45EE2 #CC92EB #E4C6F5

Accessibility & contrast

On white

3.72
#B45EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B45EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EE2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EE2#FFFFFF#000000##000000
##B45EE21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3280E6
Deuteranopia (green-blind)
#5586DF
Tritanopia (blue-blind)
#AF7697
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45ee2;
/* rgb */ color: rgb(180, 94, 226);
/* oklch */ color: oklch(63.9% 0.202 312.1);
Tailwind
colors: {
  custom: {
    50: '#ce90ec',
    500: '#b45ee2',
    950: '#000000',
  },
}
SCSS
$custom: #b45ee2;
$custom-light: #ce90ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ee2",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 279.091,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63852,
    "c": 0.20185,
    "h": 312.1
  },
  "luminance": 0.232
}

Semantic roles & 50–950 ramp

primary
#B45EE2
secondary
#C7E6B6
accent
#D11456
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B45EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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