#B45FF0#B45FF0

#B45FF0 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.8% C 0.215 H 308.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B45FF0
RGBrgb(180, 95, 240)
HSLhsl(275, 83%, 66%)
HSVhsv(275, 60%, 94%)
CMYKcmyk(25%, 60.4%, 0%, 5.9%)
CIE-LABlab(56.27, 58.90, -59.59)
CIE-LCHlch(56.27, 83.79, 314.66°)
OKLaboklab(64.83% 0.1341 -0.1681)
OKLCHoklch(64.83% 0.215 308.6)
XYZxyz(38.6396, 24.1796, 85.0528)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FF0 #9BF05F
analogous
#6B5FF0 #B45FF0 #F05FE4
triadic
#B45FF0 #F0B45F #5FF0B4
tetradic
#B45FF0 #F06B5F #9BF05F #5FE4F0
square
#B45FF0 #F06B5F #9BF05F #5FE4F0
split-complementary
#B45FF0 #E4F05F #5FF06B
monochromatic
#7912C2 #9A27EB #B45FF0 #CE97F5 #E8CFFA

Accessibility & contrast

On white

3.60
#B45FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#B45FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FF0
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FF0#FFFFFF#000000##000000
##B45FF01.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C83F5
Deuteranopia (green-blind)
#4988ED
Tritanopia (blue-blind)
#AB7B9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b45ff0;
/* rgb */ color: rgb(180, 95, 240);
/* oklch */ color: oklch(64.8% 0.215 308.6);
Tailwind
colors: {
  custom: {
    50: '#ce91f6',
    500: '#b45ff0',
    950: '#000000',
  },
}
SCSS
$custom: #b45ff0;
$custom-light: #ce91f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ff0",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 275.172,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64831,
    "c": 0.21504,
    "h": 308.6
  },
  "luminance": 0.24179
}

Semantic roles & 50–950 ramp

primary
#B45FF0
secondary
#D1EEBD
accent
#DF0660
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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