#B45DE3#B45DE3

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

Color values

HEX#B45DE3
RGBrgb(180, 93, 227)
HSLhsl(279, 71%, 63%)
HSVhsv(279, 59%, 89%)
CMYKcmyk(20.7%, 59%, 0%, 11%)
CIE-LABlab(55.15, 57.06, -54.10)
CIE-LCHlch(55.15, 78.63, 316.53°)
OKLaboklab(63.78% 0.1366 -0.152)
OKLCHoklch(63.78% 0.204 312)
XYZxyz(36.5994, 23.0789, 75.1848)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DE3 #8CE35D
analogous
#715DE3 #B45DE3 #E35DCF
triadic
#B45DE3 #E3B45D #5DE3B4
tetradic
#B45DE3 #E3715D #8CE35D #5DCFE3
square
#B45DE3 #E3715D #8CE35D #5DCFE3
split-complementary
#B45DE3 #CFE35D #5DE371
monochromatic
#781DA8 #9C29DA #B45DE3 #CC91EC #E4C5F5

Accessibility & contrast

On white

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

On black

5.62
#B45DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DE3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DE3#FFFFFF#000000##000000
##B45DE31.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b45de3;
/* rgb */ color: rgb(180, 93, 227);
/* oklch */ color: oklch(63.8% 0.204 312.0);
Tailwind
colors: {
  custom: {
    50: '#ce8fec',
    500: '#b45de3',
    950: '#000000',
  },
}
SCSS
$custom: #b45de3;
$custom-light: #ce8fec;
$custom-dark: #000000;
JSON
{
  "hex": "#b45de3",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 227
  },
  "hsl": {
    "h": 278.955,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63779,
    "c": 0.20435,
    "h": 312
  },
  "luminance": 0.23078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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