#B45AF0#B45AF0

#B45AF0 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.2% C 0.222 H 309.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B45AF0
RGBrgb(180, 90, 240)
HSLhsl(276, 83%, 65%)
HSVhsv(276, 63%, 94%)
CMYKcmyk(25%, 62.5%, 0%, 5.9%)
CIE-LABlab(55.39, 61.29, -61.01)
CIE-LCHlch(55.39, 86.48, 315.13°)
OKLaboklab(64.19% 0.1399 -0.1722)
OKLCHoklch(64.19% 0.222 309.1)
XYZxyz(38.2036, 23.3076, 84.9074)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45AF0 #96F05A
analogous
#695AF0 #B45AF0 #F05AE1
triadic
#B45AF0 #F0B45A #5AF0B4
tetradic
#B45AF0 #F0695A #96F05A #5AE1F0
square
#B45AF0 #F0695A #96F05A #5AE1F0
split-complementary
#B45AF0 #E1F05A #5AF069
monochromatic
#7911BE #9B22EB #B45AF0 #CE92F5 #E7CAFA

Accessibility & contrast

On white

3.71
#B45AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B45AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45AF0
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45AF0#FFFFFF#000000##000000
##B45AF01.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F5
Deuteranopia (green-blind)
#4486ED
Tritanopia (blue-blind)
#AB789D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b45af0;
/* rgb */ color: rgb(180, 90, 240);
/* oklch */ color: oklch(64.2% 0.222 309.1);
Tailwind
colors: {
  custom: {
    50: '#ce8ef6',
    500: '#b45af0',
    950: '#000000',
  },
}
SCSS
$custom: #b45af0;
$custom-light: #ce8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#b45af0",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 240
  },
  "hsl": {
    "h": 276,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64194,
    "c": 0.22189,
    "h": 309.1
  },
  "luminance": 0.23307
}

Semantic roles & 50–950 ramp

primary
#B45AF0
secondary
#CEEDB9
accent
#E0065D
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B45AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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