#B45EF1#B45EF1

#B45EF1 is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.8% C 0.217 H 308.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B45EF1
RGBrgb(180, 94, 241)
HSLhsl(275, 84%, 66%)
HSVhsv(275, 61%, 95%)
CMYKcmyk(25.3%, 61%, 0%, 5.5%)
CIE-LABlab(56.15, 59.60, -60.34)
CIE-LCHlch(56.15, 84.82, 314.65°)
OKLaboklab(64.76% 0.1353 -0.1703)
OKLCHoklch(64.76% 0.217 308.5)
XYZxyz(38.6991, 24.0602, 85.8074)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EF1 #9BF15E
analogous
#6A5EF1 #B45EF1 #F15EE4
triadic
#B45EF1 #F1B45E #5EF1B4
tetradic
#B45EF1 #F16A5E #9BF15E #5EE4F1
square
#B45EF1 #F16A5E #9BF15E #5EE4F1
split-complementary
#B45EF1 #E4F15E #5EF16A
monochromatic
#7911C4 #9A26EC #B45EF1 #CE96F6 #E8CFFB

Accessibility & contrast

On white

3.61
#B45EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#B45EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EF1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EF1#FFFFFF#000000##000000
##B45EF11.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1483F6
Deuteranopia (green-blind)
#4788EE
Tritanopia (blue-blind)
#AB7B9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b45ef1;
/* rgb */ color: rgb(180, 94, 241);
/* oklch */ color: oklch(64.8% 0.217 308.5);
Tailwind
colors: {
  custom: {
    50: '#ce90f6',
    500: '#b45ef1',
    950: '#000000',
  },
}
SCSS
$custom: #b45ef1;
$custom-light: #ce90f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ef1",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 275.102,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64764,
    "c": 0.21747,
    "h": 308.5
  },
  "luminance": 0.2406
}

Semantic roles & 50–950 ramp

primary
#B45EF1
secondary
#D1EEBD
accent
#E00560
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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