#B45AED#B45AED

#B45AED is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.0% C 0.219 H 309.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B45AED
RGBrgb(180, 90, 237)
HSLhsl(277, 80%, 64%)
HSVhsv(277, 62%, 93%)
CMYKcmyk(24.1%, 62%, 0%, 7.1%)
CIE-LABlab(55.21, 60.64, -59.62)
CIE-LCHlch(55.21, 85.04, 315.49°)
OKLaboklab(64.01% 0.1401 -0.1681)
OKLCHoklch(64.01% 0.219 309.8)
XYZxyz(37.7617, 23.1308, 82.5798)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45AED #93ED5A
analogous
#6B5AED #B45AED #ED5ADC
triadic
#B45AED #EDB45A #5AEDB4
tetradic
#B45AED #ED6B5A #93ED5A #5ADCED
square
#B45AED #ED6B5A #93ED5A #5ADCED
split-complementary
#B45AED #DCED5A #5AED6B
monochromatic
#7914B8 #9B23E7 #B45AED #CD91F3 #E6C8F9

Accessibility & contrast

On white

3.73
#B45AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#B45AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45AED
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45AED#FFFFFF#000000##000000
##B45AED1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C80F2
Deuteranopia (green-blind)
#4786EA
Tritanopia (blue-blind)
#AC779C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45aed;
/* rgb */ color: rgb(180, 90, 237);
/* oklch */ color: oklch(64.0% 0.219 309.8);
Tailwind
colors: {
  custom: {
    50: '#ce8df3',
    500: '#b45aed',
    950: '#000000',
  },
}
SCSS
$custom: #b45aed;
$custom-light: #ce8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#b45aed",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 276.735,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64005,
    "c": 0.21882,
    "h": 309.8
  },
  "luminance": 0.2313
}

Semantic roles & 50–950 ramp

primary
#B45AED
secondary
#CCEBB8
accent
#DD095B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B45AED

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

Preview Lab → · Contrast checker → · Palette generator →

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