#B45EF9#B45EF9

#B45EF9 is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.3% C 0.226 H 306.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B45EF9
RGBrgb(180, 94, 249)
HSLhsl(273, 93%, 67%)
HSVhsv(273, 62%, 98%)
CMYKcmyk(27.7%, 62.2%, 0%, 2.4%)
CIE-LABlab(56.63, 61.37, -64.01)
CIE-LCHlch(56.63, 88.68, 313.79°)
OKLaboklab(65.27% 0.135 -0.181)
OKLCHoklch(65.27% 0.226 306.7)
XYZxyz(39.9204, 24.5487, 92.2395)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EF9 #A3F95E
analogous
#665EF9 #B45EF9 #F95EF1
triadic
#B45EF9 #F9B45E #5EF9B4
tetradic
#B45EF9 #F9665E #A3F95E #5EF1F9
square
#B45EF9 #F9665E #A3F95E #5EF1F9
split-complementary
#B45EF9 #F1F95E #5EF966
monochromatic
#7A08D5 #9923F7 #B45EF9 #CF99FB #EBD4FD

Accessibility & contrast

On white

3.55
#B45EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#B45EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EF9
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EF9#FFFFFF#000000##000000
##B45EF91.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FE
Deuteranopia (green-blind)
#3E88F5
Tritanopia (blue-blind)
#A97EA3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b45ef9;
/* rgb */ color: rgb(180, 94, 249);
/* oklch */ color: oklch(65.3% 0.226 306.7);
Tailwind
colors: {
  custom: {
    50: '#cf90fc',
    500: '#b45ef9',
    950: '#000000',
  },
}
SCSS
$custom: #b45ef9;
$custom-light: #cf90fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ef9",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 249
  },
  "hsl": {
    "h": 273.29,
    "s": 92.814,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6527,
    "c": 0.22581,
    "h": 306.7
  },
  "luminance": 0.24548
}

Semantic roles & 50–950 ramp

primary
#B45EF9
secondary
#D7F2C1
accent
#E60066
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B45EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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