#B45BF1#B45BF1

#B45BF1 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.4% C 0.222 H 308.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B45BF1
RGBrgb(180, 91, 241)
HSLhsl(276, 84%, 65%)
HSVhsv(276, 62%, 95%)
CMYKcmyk(25.3%, 62.2%, 0%, 5.5%)
CIE-LABlab(55.62, 61.04, -61.19)
CIE-LCHlch(55.62, 86.43, 314.93°)
OKLaboklab(64.38% 0.1387 -0.1727)
OKLCHoklch(64.38% 0.222 308.8)
XYZxyz(38.4375, 23.5370, 85.7202)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BF1 #98F15B
analogous
#695BF1 #B45BF1 #F15BE3
triadic
#B45BF1 #F1B45B #5BF1B4
tetradic
#B45BF1 #F1695B #98F15B #5BE3F1
square
#B45BF1 #F1695B #98F15B #5BE3F1
split-complementary
#B45BF1 #E3F15B #5BF169
monochromatic
#7910C1 #9A23EC #B45BF1 #CE93F6 #E8CCFB

Accessibility & contrast

On white

3.68
#B45BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B45BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BF1
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BF1#FFFFFF#000000##000000
##B45BF11.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F6
Deuteranopia (green-blind)
#4486EE
Tritanopia (blue-blind)
#AB799E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b45bf1;
/* rgb */ color: rgb(180, 91, 241);
/* oklch */ color: oklch(64.4% 0.222 308.8);
Tailwind
colors: {
  custom: {
    50: '#ce8ef6',
    500: '#b45bf1',
    950: '#000000',
  },
}
SCSS
$custom: #b45bf1;
$custom-light: #ce8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bf1",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 275.6,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64382,
    "c": 0.22156,
    "h": 308.8
  },
  "luminance": 0.23536
}

Semantic roles & 50–950 ramp

primary
#B45BF1
secondary
#CFEDBA
accent
#E1055E
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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