#B45DE2#B45DE2

#B45DE2 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.7% C 0.203 H 312.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B45DE2
RGBrgb(180, 93, 226)
HSLhsl(279, 70%, 63%)
HSVhsv(279, 59%, 89%)
CMYKcmyk(20.4%, 58.8%, 0%, 11.4%)
CIE-LABlab(55.10, 56.85, -53.62)
CIE-LCHlch(55.10, 78.15, 316.67°)
OKLaboklab(63.72% 0.1366 -0.1506)
OKLCHoklch(63.72% 0.203 312.2)
XYZxyz(36.4618, 23.0239, 74.4601)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DE2 #8BE25D
analogous
#715DE2 #B45DE2 #E25DCE
triadic
#B45DE2 #E2B45D #5DE2B4
tetradic
#B45DE2 #E2715D #8BE25D #5DCEE2
square
#B45DE2 #E2715D #8BE25D #5DCEE2
split-complementary
#B45DE2 #CEE25D #5DE271
monochromatic
#771EA7 #9C29D9 #B45DE2 #CC91EB #E4C5F5

Accessibility & contrast

On white

3.75
#B45DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B45DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DE2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DE2#FFFFFF#000000##000000
##B45DE21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7FE6
Deuteranopia (green-blind)
#5486DF
Tritanopia (blue-blind)
#AF7597
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45de2;
/* rgb */ color: rgb(180, 93, 226);
/* oklch */ color: oklch(63.7% 0.203 312.2);
Tailwind
colors: {
  custom: {
    50: '#ce8fec',
    500: '#b45de2',
    950: '#000000',
  },
}
SCSS
$custom: #b45de2;
$custom-light: #ce8fec;
$custom-dark: #000000;
JSON
{
  "hex": "#b45de2",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 279.248,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63719,
    "c": 0.2033,
    "h": 312.2
  },
  "luminance": 0.23023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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