#B45BF2#B45BF2

#B45BF2 is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.4% C 0.223 H 308.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B45BF2
RGBrgb(180, 91, 242)
HSLhsl(275, 85%, 65%)
HSVhsv(275, 62%, 95%)
CMYKcmyk(25.6%, 62.4%, 0%, 5.1%)
CIE-LABlab(55.68, 61.26, -61.65)
CIE-LCHlch(55.68, 86.91, 314.82°)
OKLaboklab(64.44% 0.1387 -0.1741)
OKLCHoklch(64.44% 0.223 308.5)
XYZxyz(38.5873, 23.5969, 86.5091)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BF2 #99F25B
analogous
#685BF2 #B45BF2 #F25BE5
triadic
#B45BF2 #F2B45B #5BF2B4
tetradic
#B45BF2 #F2685B #99F25B #5BE5F2
square
#B45BF2 #F2685B #99F25B #5BE5F2
split-complementary
#B45BF2 #E5F25B #5BF268
monochromatic
#790FC3 #9A22EE #B45BF2 #CE94F6 #E8CCFB

Accessibility & contrast

On white

3.67
#B45BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#B45BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BF2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BF2#FFFFFF#000000##000000
##B45BF21.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#4286EF
Tritanopia (blue-blind)
#AB799F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b45bf2;
/* rgb */ color: rgb(180, 91, 242);
/* oklch */ color: oklch(64.4% 0.223 308.5);
Tailwind
colors: {
  custom: {
    50: '#ce8ef7',
    500: '#b45bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b45bf2;
$custom-light: #ce8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bf2",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 275.364,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64445,
    "c": 0.22259,
    "h": 308.5
  },
  "luminance": 0.23596
}

Semantic roles & 50–950 ramp

primary
#B45BF2
secondary
#D0EEBB
accent
#E2045F
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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