#B45DE9#B45DE9

#B45DE9 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.1% C 0.211 H 310.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B45DE9
RGBrgb(180, 93, 233)
HSLhsl(277, 76%, 64%)
HSVhsv(277, 60%, 91%)
CMYKcmyk(22.7%, 60.1%, 0%, 8.6%)
CIE-LABlab(55.50, 58.35, -56.91)
CIE-LCHlch(55.50, 81.51, 315.71°)
OKLaboklab(64.14% 0.1366 -0.1602)
OKLCHoklch(64.14% 0.211 310.5)
XYZxyz(37.4419, 23.4160, 79.6223)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DE9 #92E95D
analogous
#6E5DE9 #B45DE9 #E95DD8
triadic
#B45DE9 #E9B45D #5DE9B4
tetradic
#B45DE9 #E96E5D #92E95D #5DD8E9
square
#B45DE9 #E96E5D #92E95D #5DD8E9
split-complementary
#B45DE9 #D8E95D #5DE96E
monochromatic
#7918B3 #9B27E2 #B45DE9 #CD93F0 #E6C9F8

Accessibility & contrast

On white

3.70
#B45DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#B45DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DE9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DE9#FFFFFF#000000##000000
##B45DE91.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2481ED
Deuteranopia (green-blind)
#4E86E6
Tritanopia (blue-blind)
#AD789B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b45de9;
/* rgb */ color: rgb(180, 93, 233);
/* oklch */ color: oklch(64.1% 0.211 310.5);
Tailwind
colors: {
  custom: {
    50: '#ce8ff1',
    500: '#b45de9',
    950: '#000000',
  },
}
SCSS
$custom: #b45de9;
$custom-light: #ce8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b45de9",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 233
  },
  "hsl": {
    "h": 277.286,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64141,
    "c": 0.21055,
    "h": 310.5
  },
  "luminance": 0.23415
}

Semantic roles & 50–950 ramp

primary
#B45DE9
secondary
#CBE9B8
accent
#D80D5A
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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