#B45BF3#B45BF3

#B45BF3 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.5% C 0.224 H 308.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B45BF3
RGBrgb(180, 91, 243)
HSLhsl(275, 86%, 65%)
HSVhsv(275, 63%, 95%)
CMYKcmyk(25.9%, 62.6%, 0%, 4.7%)
CIE-LABlab(55.74, 61.48, -62.11)
CIE-LCHlch(55.74, 87.39, 314.71°)
OKLaboklab(64.51% 0.1387 -0.1754)
OKLCHoklch(64.51% 0.224 308.3)
XYZxyz(38.7379, 23.6571, 87.3022)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BF3 #9AF35B
analogous
#685BF3 #B45BF3 #F35BE6
triadic
#B45BF3 #F3B45B #5BF3B4
tetradic
#B45BF3 #F3685B #9AF35B #5BE6F3
square
#B45BF3 #F3685B #9AF35B #5BE6F3
split-complementary
#B45BF3 #E6F35B #5BF368
monochromatic
#790EC5 #9A22EF #B45BF3 #CE94F7 #E8CDFB

Accessibility & contrast

On white

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

On black

5.73
#B45BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BF3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BF3#FFFFFF#000000##000000
##B45BF31.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F8
Deuteranopia (green-blind)
#4187F0
Tritanopia (blue-blind)
#AB7A9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b45bf3;
/* rgb */ color: rgb(180, 91, 243);
/* oklch */ color: oklch(64.5% 0.224 308.3);
Tailwind
colors: {
  custom: {
    50: '#cf8ef8',
    500: '#b45bf3',
    950: '#000000',
  },
}
SCSS
$custom: #b45bf3;
$custom-light: #cf8ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bf3",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 243
  },
  "hsl": {
    "h": 275.132,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64509,
    "c": 0.22362,
    "h": 308.3
  },
  "luminance": 0.23657
}

Semantic roles & 50–950 ramp

primary
#B45BF3
secondary
#D1EEBB
accent
#E30360
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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