#B45EFB#B45EFB

#B45EFB is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.4% C 0.228 H 306.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B45EFB
RGBrgb(180, 94, 251)
HSLhsl(273, 95%, 68%)
HSVhsv(273, 63%, 98%)
CMYKcmyk(28.3%, 62.5%, 0%, 1.6%)
CIE-LABlab(56.76, 61.82, -64.92)
CIE-LCHlch(56.76, 89.65, 313.60°)
OKLaboklab(65.4% 0.1349 -0.1837)
OKLCHoklch(65.4% 0.228 306.3)
XYZxyz(40.2340, 24.6741, 93.8911)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EFB #A5FB5E
analogous
#655EFB #B45EFB #FB5EF4
triadic
#B45EFB #FBB45E #5EFBB4
tetradic
#B45EFB #FB655E #A5FB5E #5EF4FB
square
#B45EFB #FB655E #A5FB5E #5EF4FB
split-complementary
#B45EFB #F4FB5E #5EFB65
monochromatic
#7905D9 #9822FA #B45EFB #D09AFC #ECD5FE

Accessibility & contrast

On white

3.54
#B45EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#B45EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EFB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EFB#FFFFFF#000000##000000
##B45EFB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#3B89F7
Tritanopia (blue-blind)
#A87FA4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b45efb;
/* rgb */ color: rgb(180, 94, 251);
/* oklch */ color: oklch(65.4% 0.228 306.3);
Tailwind
colors: {
  custom: {
    50: '#cf90fd',
    500: '#b45efb',
    950: '#000000',
  },
}
SCSS
$custom: #b45efb;
$custom-light: #cf90fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b45efb",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 272.866,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65399,
    "c": 0.2279,
    "h": 306.3
  },
  "luminance": 0.24674
}

Semantic roles & 50–950 ramp

primary
#B45EFB
secondary
#D8F3C2
accent
#E60068
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B45EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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