#B45DEF#B45DEF

#B45DEF is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.5% C 0.217 H 309.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B45DEF
RGBrgb(180, 93, 239)
HSLhsl(276, 82%, 65%)
HSVhsv(276, 61%, 94%)
CMYKcmyk(24.7%, 61.1%, 0%, 6.3%)
CIE-LABlab(55.85, 59.65, -59.70)
CIE-LCHlch(55.85, 84.39, 314.97°)
OKLaboklab(64.51% 0.1365 -0.1684)
OKLCHoklch(64.51% 0.217 309)
XYZxyz(38.3136, 23.7646, 84.2133)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DEF #98EF5D
analogous
#6B5DEF #B45DEF #EF5DE1
triadic
#B45DEF #EFB45D #5DEFB4
tetradic
#B45DEF #EF6B5D #98EF5D #5DE1EF
square
#B45DEF #EF6B5D #98EF5D #5DE1EF
split-complementary
#B45DEF #E1EF5D #5DEF6B
monochromatic
#7913BF #9A25E9 #B45DEF #CE95F5 #E8CCFA

Accessibility & contrast

On white

3.65
#B45DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#B45DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DEF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DEF#FFFFFF#000000##000000
##B45DEF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1682F4
Deuteranopia (green-blind)
#4887EC
Tritanopia (blue-blind)
#AC7A9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b45def;
/* rgb */ color: rgb(180, 93, 239);
/* oklch */ color: oklch(64.5% 0.217 309.0);
Tailwind
colors: {
  custom: {
    50: '#ce8ff5',
    500: '#b45def',
    950: '#000000',
  },
}
SCSS
$custom: #b45def;
$custom-light: #ce8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#b45def",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 275.753,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6451,
    "c": 0.21677,
    "h": 309
  },
  "luminance": 0.23764
}

Semantic roles & 50–950 ramp

primary
#B45DEF
secondary
#CFEDBB
accent
#DE075E
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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