#B45AFF#B45AFF

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

Color values

HEX#B45AFF
RGBrgb(180, 90, 255)
HSLhsl(273, 100%, 68%)
HSVhsv(273, 65%, 100%)
CMYKcmyk(29.4%, 64.7%, 0%, 0%)
CIE-LABlab(56.32, 64.59, -67.83)
CIE-LCHlch(56.32, 93.66, 313.60°)
OKLaboklab(65.17% 0.139 -0.1922)
OKLCHoklch(65.17% 0.237 305.9)
XYZxyz(40.5246, 24.2360, 97.1315)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45AFF #A5FF5A
analogous
#615AFF #B45AFF #FF5AF8
triadic
#B45AFF #FFB45A #5AFFB4
tetradic
#B45AFF #FF615A #A5FF5A #5AF8FF
square
#B45AFF #FF615A #A5FF5A #5AF8FF
split-complementary
#B45AFF #F8FF5A #5AFF61
monochromatic
#7900DF #981DFF #B45AFF #D097FF #ECD4FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45AFF#FFFFFF#000000##000000
##B45AFF1.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)
#0084FF
Deuteranopia (green-blind)
#2E87FB
Tritanopia (blue-blind)
#A77EA5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b45aff;
/* rgb */ color: rgb(180, 90, 255);
/* oklch */ color: oklch(65.2% 0.237 305.9);
Tailwind
colors: {
  custom: {
    50: '#cf8eff',
    500: '#b45aff',
    950: '#000000',
  },
}
SCSS
$custom: #b45aff;
$custom-light: #cf8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b45aff",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 272.727,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65167,
    "c": 0.23722,
    "h": 305.9
  },
  "luminance": 0.24236
}

Semantic roles & 50–950 ramp

primary
#B45AFF
secondary
#D8F4C1
accent
#E60068
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B45AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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