#B45DFB#B45DFB

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

Color values

HEX#B45DFB
RGBrgb(180, 93, 251)
HSLhsl(273, 95%, 67%)
HSVhsv(273, 63%, 98%)
CMYKcmyk(28.3%, 62.9%, 0%, 1.6%)
CIE-LABlab(56.58, 62.29, -65.20)
CIE-LCHlch(56.58, 90.18, 313.69°)
OKLaboklab(65.27% 0.136 -0.1845)
OKLCHoklch(65.27% 0.229 306.4)
XYZxyz(40.1456, 24.4974, 93.8616)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DFB #A4FB5D
analogous
#655DFB #B45DFB #FB5DF3
triadic
#B45DFB #FBB45D #5DFBB4
tetradic
#B45DFB #FB655D #A4FB5D #5DF3FB
square
#B45DFB #FB655D #A4FB5D #5DF3FB
split-complementary
#B45DFB #F3FB5D #5DFB65
monochromatic
#7905D8 #9821FA #B45DFB #D099FC #EBD4FE

Accessibility & contrast

On white

3.56
#B45DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#B45DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DFB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DFB#FFFFFF#000000##000000
##B45DFB1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b45dfb;
/* rgb */ color: rgb(180, 93, 251);
/* oklch */ color: oklch(65.3% 0.229 306.4);
Tailwind
colors: {
  custom: {
    50: '#cf90fd',
    500: '#b45dfb',
    950: '#000000',
  },
}
SCSS
$custom: #b45dfb;
$custom-light: #cf90fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b45dfb",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 251
  },
  "hsl": {
    "h": 273.038,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65273,
    "c": 0.22922,
    "h": 306.4
  },
  "luminance": 0.24497
}

Semantic roles & 50–950 ramp

primary
#B45DFB
secondary
#D7F3C1
accent
#E60067
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B45DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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