#B45CF1#B45CF1

#B45CF1 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.5% C 0.220 H 308.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B45CF1
RGBrgb(180, 92, 241)
HSLhsl(275, 84%, 65%)
HSVhsv(275, 62%, 95%)
CMYKcmyk(25.3%, 61.8%, 0%, 5.5%)
CIE-LABlab(55.80, 60.56, -60.91)
CIE-LCHlch(55.80, 85.89, 314.84°)
OKLaboklab(64.51% 0.1376 -0.1719)
OKLCHoklch(64.51% 0.22 308.7)
XYZxyz(38.5235, 23.7091, 85.7489)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CF1 #99F15C
analogous
#695CF1 #B45CF1 #F15CE4
triadic
#B45CF1 #F1B45C #5CF1B4
tetradic
#B45CF1 #F1695C #99F15C #5CE4F1
square
#B45CF1 #F1695C #99F15C #5CE4F1
split-complementary
#B45CF1 #E4F15C #5CF169
monochromatic
#7911C2 #9A24EC #B45CF1 #CE94F6 #E8CDFB

Accessibility & contrast

On white

3.66
#B45CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#B45CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CF1
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CF1#FFFFFF#000000##000000
##B45CF11.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0682F6
Deuteranopia (green-blind)
#4587EE
Tritanopia (blue-blind)
#AB7A9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b45cf1;
/* rgb */ color: rgb(180, 92, 241);
/* oklch */ color: oklch(64.5% 0.220 308.7);
Tailwind
colors: {
  custom: {
    50: '#ce8ff6',
    500: '#b45cf1',
    950: '#000000',
  },
}
SCSS
$custom: #b45cf1;
$custom-light: #ce8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cf1",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 275.436,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64508,
    "c": 0.22021,
    "h": 308.7
  },
  "luminance": 0.23708
}

Semantic roles & 50–950 ramp

primary
#B45CF1
secondary
#D0EEBB
accent
#E1055F
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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