#B45AF5#B45AF5

#B45AF5 is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.5% C 0.227 H 308.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B45AF5
RGBrgb(180, 90, 245)
HSLhsl(275, 89%, 66%)
HSVhsv(275, 63%, 96%)
CMYKcmyk(26.5%, 63.3%, 0%, 3.9%)
CIE-LABlab(55.69, 62.38, -63.30)
CIE-LCHlch(55.69, 88.87, 314.58°)
OKLaboklab(64.51% 0.1397 -0.1789)
OKLCHoklch(64.51% 0.227 308)
XYZxyz(38.9566, 23.6088, 88.8732)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45AF5 #9BF55A
analogous
#665AF5 #B45AF5 #F55AE8
triadic
#B45AF5 #F5B45A #5AF5B4
tetradic
#B45AF5 #F5665A #9BF55A #5AE8F5
square
#B45AF5 #F5665A #9BF55A #5AE8F5
split-complementary
#B45AF5 #E8F55A #5AF566
monochromatic
#790CC8 #9A20F2 #B45AF5 #CE94F8 #E8CDFC

Accessibility & contrast

On white

3.67
#B45AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#B45AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45AF5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45AF5#FFFFFF#000000##000000
##B45AF51.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#3E86F1
Tritanopia (blue-blind)
#AA7AA0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b45af5;
/* rgb */ color: rgb(180, 90, 245);
/* oklch */ color: oklch(64.5% 0.227 308.0);
Tailwind
colors: {
  custom: {
    50: '#cf8ef9',
    500: '#b45af5',
    950: '#000000',
  },
}
SCSS
$custom: #b45af5;
$custom-light: #cf8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#b45af5",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 274.839,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64513,
    "c": 0.22699,
    "h": 308
  },
  "luminance": 0.23608
}

Semantic roles & 50–950 ramp

primary
#B45AF5
secondary
#D1EFBC
accent
#E50060
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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