#B45DE7#B45DE7

#B45DE7 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.0% C 0.208 H 310.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B45DE7
RGBrgb(180, 93, 231)
HSLhsl(278, 74%, 64%)
HSVhsv(278, 60%, 91%)
CMYKcmyk(22.1%, 59.7%, 0%, 9.4%)
CIE-LABlab(55.38, 57.92, -55.98)
CIE-LCHlch(55.38, 80.55, 315.98°)
OKLaboklab(64.02% 0.1366 -0.1575)
OKLCHoklch(64.02% 0.208 310.9)
XYZxyz(37.1579, 23.3023, 78.1262)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DE7 #90E75D
analogous
#6F5DE7 #B45DE7 #E75DD5
triadic
#B45DE7 #E7B45D #5DE7B4
tetradic
#B45DE7 #E76F5D #90E75D #5DD5E7
square
#B45DE7 #E76F5D #90E75D #5DD5E7
split-complementary
#B45DE7 #D5E75D #5DE76F
monochromatic
#781AB0 #9B28DF #B45DE7 #CD92EF #E5C8F7

Accessibility & contrast

On white

3.71
#B45DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B45DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DE7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DE7#FFFFFF#000000##000000
##B45DE71.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2880EB
Deuteranopia (green-blind)
#5086E4
Tritanopia (blue-blind)
#AE7799
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b45de7;
/* rgb */ color: rgb(180, 93, 231);
/* oklch */ color: oklch(64.0% 0.208 310.9);
Tailwind
colors: {
  custom: {
    50: '#ce8fef',
    500: '#b45de7',
    950: '#000000',
  },
}
SCSS
$custom: #b45de7;
$custom-light: #ce8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#b45de7",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 277.826,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64019,
    "c": 0.20847,
    "h": 310.9
  },
  "luminance": 0.23302
}

Semantic roles & 50–950 ramp

primary
#B45DE7
secondary
#CAE8B7
accent
#D60F59
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B45DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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