#B45AF7#B45AF7

#B45AF7 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.6% C 0.229 H 307.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B45AF7
RGBrgb(180, 90, 247)
HSLhsl(274, 91%, 66%)
HSVhsv(274, 64%, 97%)
CMYKcmyk(27.1%, 63.6%, 0%, 3.1%)
CIE-LABlab(55.82, 62.82, -64.21)
CIE-LCHlch(55.82, 89.83, 314.37°)
OKLaboklab(64.64% 0.1396 -0.1816)
OKLCHoklch(64.64% 0.229 307.5)
XYZxyz(39.2636, 23.7315, 90.4899)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45AF7 #9DF75A
analogous
#655AF7 #B45AF7 #F75AEB
triadic
#B45AF7 #F7B45A #5AF7B4
tetradic
#B45AF7 #F7655A #9DF75A #5AEBF7
square
#B45AF7 #F7655A #9DF75A #5AEBF7
split-complementary
#B45AF7 #EBF75A #5AF765
monochromatic
#7A0ACD #9920F4 #B45AF7 #CF94FA #E9CFFD

Accessibility & contrast

On white

3.65
#B45AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#B45AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45AF7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45AF7#FFFFFF#000000##000000
##B45AF71.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FC
Deuteranopia (green-blind)
#3B87F3
Tritanopia (blue-blind)
#A97BA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b45af7;
/* rgb */ color: rgb(180, 90, 247);
/* oklch */ color: oklch(64.6% 0.229 307.5);
Tailwind
colors: {
  custom: {
    50: '#cf8efb',
    500: '#b45af7',
    950: '#000000',
  },
}
SCSS
$custom: #b45af7;
$custom-light: #cf8efb;
$custom-dark: #000000;
JSON
{
  "hex": "#b45af7",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 274.395,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64642,
    "c": 0.22904,
    "h": 307.5
  },
  "luminance": 0.23731
}

Semantic roles & 50–950 ramp

primary
#B45AF7
secondary
#D3F0BD
accent
#E60062
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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