#B45DFE#B45DFE

#B45DFE is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.5% C 0.232 H 305.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B45DFE
RGBrgb(180, 93, 254)
HSLhsl(272, 99%, 68%)
HSVhsv(272, 63%, 100%)
CMYKcmyk(29.1%, 63.4%, 0%, 0.4%)
CIE-LABlab(56.77, 62.96, -66.56)
CIE-LCHlch(56.77, 91.62, 313.41°)
OKLaboklab(65.47% 0.1358 -0.1885)
OKLCHoklch(65.47% 0.232 305.8)
XYZxyz(40.6223, 24.6881, 96.3720)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DFE #A7FE5D
analogous
#635DFE #B45DFE #FE5DF8
triadic
#B45DFE #FEB45D #5DFEB4
tetradic
#B45DFE #FE635D #A7FE5D #5DF8FE
square
#B45DFE #FE635D #A7FE5D #5DF8FE
split-complementary
#B45DFE #F8FE5D #5DFE63
monochromatic
#7901DF #9820FE #B45DFE #D09AFE #ECD7FF

Accessibility & contrast

On white

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

On black

5.94
#B45DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DFE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DFE#FFFFFF#000000##000000
##B45DFE1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#3589FA
Tritanopia (blue-blind)
#A77FA6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b45dfe;
/* rgb */ color: rgb(180, 93, 254);
/* oklch */ color: oklch(65.5% 0.232 305.8);
Tailwind
colors: {
  custom: {
    50: '#cf90ff',
    500: '#b45dfe',
    950: '#000000',
  },
}
SCSS
$custom: #b45dfe;
$custom-light: #cf90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b45dfe",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 254
  },
  "hsl": {
    "h": 272.422,
    "s": 98.773,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65469,
    "c": 0.23233,
    "h": 305.8
  },
  "luminance": 0.24688
}

Semantic roles & 50–950 ramp

primary
#B45DFE
secondary
#D9F4C3
accent
#E60069
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B45DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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