#B45DE6#B45DE6

#B45DE6 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.0% C 0.207 H 311.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B45DE6
RGBrgb(180, 93, 230)
HSLhsl(278, 73%, 63%)
HSVhsv(278, 60%, 90%)
CMYKcmyk(21.7%, 59.6%, 0%, 9.8%)
CIE-LABlab(55.32, 57.70, -55.51)
CIE-LCHlch(55.32, 80.07, 316.11°)
OKLaboklab(63.96% 0.1366 -0.1561)
OKLCHoklch(63.96% 0.207 311.2)
XYZxyz(37.0170, 23.2460, 77.3845)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DE6 #8FE65D
analogous
#6F5DE6 #B45DE6 #E65DD4
triadic
#B45DE6 #E6B45D #5DE6B4
tetradic
#B45DE6 #E66F5D #8FE65D #5DD4E6
square
#B45DE6 #E66F5D #8FE65D #5DD4E6
split-complementary
#B45DE6 #D4E65D #5DE66F
monochromatic
#781BAE #9B28DE #B45DE6 #CD92EE #E5C7F6

Accessibility & contrast

On white

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

On black

5.65
#B45DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DE6
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DE6#FFFFFF#000000##000000
##B45DE61.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2980EA
Deuteranopia (green-blind)
#5186E3
Tritanopia (blue-blind)
#AE7799
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45de6;
/* rgb */ color: rgb(180, 93, 230);
/* oklch */ color: oklch(64.0% 0.207 311.2);
Tailwind
colors: {
  custom: {
    50: '#ce8fee',
    500: '#b45de6',
    950: '#000000',
  },
}
SCSS
$custom: #b45de6;
$custom-light: #ce8fee;
$custom-dark: #000000;
JSON
{
  "hex": "#b45de6",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 230
  },
  "hsl": {
    "h": 278.102,
    "s": 73.262,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63959,
    "c": 0.20744,
    "h": 311.2
  },
  "luminance": 0.23245
}

Semantic roles & 50–950 ramp

primary
#B45DE6
secondary
#C9E8B7
accent
#D51058
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B45DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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