#B45FF1#B45FF1

#B45FF1 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.9% C 0.216 H 308.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B45FF1
RGBrgb(180, 95, 241)
HSLhsl(275, 84%, 66%)
HSVhsv(275, 61%, 95%)
CMYKcmyk(25.3%, 60.6%, 0%, 5.5%)
CIE-LABlab(56.33, 59.12, -60.06)
CIE-LCHlch(56.33, 84.27, 314.55°)
OKLaboklab(64.89% 0.1341 -0.1694)
OKLCHoklch(64.89% 0.216 308.4)
XYZxyz(38.7886, 24.2392, 85.8373)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FF1 #9CF15F
analogous
#6B5FF1 #B45FF1 #F15FE5
triadic
#B45FF1 #F1B45F #5FF1B4
tetradic
#B45FF1 #F16B5F #9CF15F #5FE5F1
square
#B45FF1 #F16B5F #9CF15F #5FE5F1
split-complementary
#B45FF1 #E5F15F #5FF16B
monochromatic
#7A11C4 #9A27EC #B45FF1 #CE97F6 #E9D0FB

Accessibility & contrast

On white

3.59
#B45FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#B45FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FF1
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FF1#FFFFFF#000000##000000
##B45FF11.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1984F6
Deuteranopia (green-blind)
#4888EE
Tritanopia (blue-blind)
#AB7C9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b45ff1;
/* rgb */ color: rgb(180, 95, 241);
/* oklch */ color: oklch(64.9% 0.216 308.4);
Tailwind
colors: {
  custom: {
    50: '#ce91f6',
    500: '#b45ff1',
    950: '#000000',
  },
}
SCSS
$custom: #b45ff1;
$custom-light: #ce91f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ff1",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 274.932,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64893,
    "c": 0.21608,
    "h": 308.4
  },
  "luminance": 0.24239
}

Semantic roles & 50–950 ramp

primary
#B45FF1
secondary
#D2EEBE
accent
#E00561
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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