#B45DF1#B45DF1

#B45DF1 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.6% C 0.219 H 308.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B45DF1
RGBrgb(180, 93, 241)
HSLhsl(275, 84%, 65%)
HSVhsv(275, 61%, 95%)
CMYKcmyk(25.3%, 61.4%, 0%, 5.5%)
CIE-LABlab(55.97, 60.09, -60.63)
CIE-LCHlch(55.97, 85.36, 314.74°)
OKLaboklab(64.63% 0.1364 -0.1711)
OKLCHoklch(64.63% 0.219 308.6)
XYZxyz(38.6107, 23.8835, 85.7780)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DF1 #9AF15D
analogous
#6A5DF1 #B45DF1 #F15DE4
triadic
#B45DF1 #F1B45D #5DF1B4
tetradic
#B45DF1 #F16A5D #9AF15D #5DE4F1
square
#B45DF1 #F16A5D #9AF15D #5DE4F1
split-complementary
#B45DF1 #E4F15D #5DF16A
monochromatic
#7911C3 #9A25EC #B45DF1 #CE95F6 #E8CEFB

Accessibility & contrast

On white

3.64
#B45DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#B45DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DF1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DF1#FFFFFF#000000##000000
##B45DF11.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E83F6
Deuteranopia (green-blind)
#4687EE
Tritanopia (blue-blind)
#AB7A9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b45df1;
/* rgb */ color: rgb(180, 93, 241);
/* oklch */ color: oklch(64.6% 0.219 308.6);
Tailwind
colors: {
  custom: {
    50: '#ce8ff6',
    500: '#b45df1',
    950: '#000000',
  },
}
SCSS
$custom: #b45df1;
$custom-light: #ce8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#b45df1",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 275.27,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64635,
    "c": 0.21884,
    "h": 308.6
  },
  "luminance": 0.23883
}

Semantic roles & 50–950 ramp

primary
#B45DF1
secondary
#D1EEBC
accent
#E1055F
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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