#B45AE7#B45AE7

#B45AE7 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.6% C 0.213 H 311.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B45AE7
RGBrgb(180, 90, 231)
HSLhsl(278, 75%, 63%)
HSVhsv(278, 61%, 91%)
CMYKcmyk(22.1%, 61%, 0%, 9.4%)
CIE-LABlab(54.85, 59.36, -56.83)
CIE-LCHlch(54.85, 82.18, 316.25°)
OKLaboklab(63.63% 0.1402 -0.1599)
OKLCHoklch(63.63% 0.213 311.2)
XYZxyz(36.8997, 22.7860, 78.0401)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45AE7 #8DE75A
analogous
#6D5AE7 #B45AE7 #E75AD3
triadic
#B45AE7 #E7B45A #5AE7B4
tetradic
#B45AE7 #E76D5A #8DE75A #5AD3E7
square
#B45AE7 #E76D5A #8DE75A #5AD3E7
split-complementary
#B45AE7 #D3E75A #5AE76D
monochromatic
#7819AD #9C25DF #B45AE7 #CC8FEF #E5C5F7

Accessibility & contrast

On white

3.78
#B45AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#B45AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45AE7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45AE7#FFFFFF#000000##000000
##B45AE71.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7FEB
Deuteranopia (green-blind)
#4D85E4
Tritanopia (blue-blind)
#AE7598
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b45ae7;
/* rgb */ color: rgb(180, 90, 231);
/* oklch */ color: oklch(63.6% 0.213 311.2);
Tailwind
colors: {
  custom: {
    50: '#ce8def',
    500: '#b45ae7',
    950: '#000000',
  },
}
SCSS
$custom: #b45ae7;
$custom-light: #ce8def;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ae7",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 278.298,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63633,
    "c": 0.2127,
    "h": 311.2
  },
  "luminance": 0.22785
}

Semantic roles & 50–950 ramp

primary
#B45AE7
secondary
#C7E8B5
accent
#D70F57
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D16
muted
#837D84

Preview Lab

Preview with #B45AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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