#B45CFE#B45CFE

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

Color values

HEX#B45CFE
RGBrgb(180, 92, 254)
HSLhsl(273, 99%, 68%)
HSVhsv(273, 64%, 100%)
CMYKcmyk(29.1%, 63.8%, 0%, 0.4%)
CIE-LABlab(56.60, 63.43, -66.84)
CIE-LCHlch(56.60, 92.15, 313.50°)
OKLaboklab(65.35% 0.1369 -0.1893)
OKLCHoklch(65.35% 0.234 305.9)
XYZxyz(40.5351, 24.5137, 96.3429)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CFE #A6FE5C
analogous
#635CFE #B45CFE #FE5CF7
triadic
#B45CFE #FEB45C #5CFEB4
tetradic
#B45CFE #FE635C #A6FE5C #5CF7FE
square
#B45CFE #FE635C #A6FE5C #5CF7FE
split-complementary
#B45CFE #F7FE5C #5CFE63
monochromatic
#7901DE #981FFE #B45CFE #D099FE #ECD6FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45CFE#FFFFFF#000000##000000
##B45CFE1.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)
#3488FA
Tritanopia (blue-blind)
#A77EA5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b45cfe;
/* rgb */ color: rgb(180, 92, 254);
/* oklch */ color: oklch(65.3% 0.234 305.9);
Tailwind
colors: {
  custom: {
    50: '#cf8fff',
    500: '#b45cfe',
    950: '#000000',
  },
}
SCSS
$custom: #b45cfe;
$custom-light: #cf8fff;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cfe",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 254
  },
  "hsl": {
    "h": 272.593,
    "s": 98.78,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65345,
    "c": 0.23363,
    "h": 305.9
  },
  "luminance": 0.24513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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