#B45BF4#B45BF4

#B45BF4 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.6% C 0.225 H 308.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B45BF4
RGBrgb(180, 91, 244)
HSLhsl(275, 87%, 66%)
HSVhsv(275, 63%, 96%)
CMYKcmyk(26.2%, 62.7%, 0%, 4.3%)
CIE-LABlab(55.80, 61.69, -62.57)
CIE-LCHlch(55.80, 87.87, 314.60°)
OKLaboklab(64.57% 0.1386 -0.1768)
OKLCHoklch(64.57% 0.225 308.1)
XYZxyz(38.8893, 23.7177, 88.0997)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BF4 #9BF45B
analogous
#675BF4 #B45BF4 #F45BE8
triadic
#B45BF4 #F4B45B #5BF4B4
tetradic
#B45BF4 #F4675B #9BF45B #5BE8F4
square
#B45BF4 #F4675B #9BF45B #5BE8F4
split-complementary
#B45BF4 #E8F45B #5BF467
monochromatic
#790DC7 #9A22F0 #B45BF4 #CE94F8 #E8CEFC

Accessibility & contrast

On white

3.66
#B45BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#B45BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BF4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BF4#FFFFFF#000000##000000
##B45BF41.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F9
Deuteranopia (green-blind)
#4087F1
Tritanopia (blue-blind)
#AA7AA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b45bf4;
/* rgb */ color: rgb(180, 91, 244);
/* oklch */ color: oklch(64.6% 0.225 308.1);
Tailwind
colors: {
  custom: {
    50: '#cf8ef8',
    500: '#b45bf4',
    950: '#000000',
  },
}
SCSS
$custom: #b45bf4;
$custom-light: #cf8ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bf4",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 274.902,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64573,
    "c": 0.22464,
    "h": 308.1
  },
  "luminance": 0.23717
}

Semantic roles & 50–950 ramp

primary
#B45BF4
secondary
#D1EFBC
accent
#E40260
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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