#B45BED#B45BED

#B45BED is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.1% C 0.217 H 309.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B45BED
RGBrgb(180, 91, 237)
HSLhsl(277, 80%, 64%)
HSVhsv(277, 62%, 93%)
CMYKcmyk(24.1%, 61.6%, 0%, 7.1%)
CIE-LABlab(55.38, 60.17, -59.34)
CIE-LCHlch(55.38, 84.51, 315.40°)
OKLaboklab(64.13% 0.1389 -0.1673)
OKLCHoklch(64.13% 0.217 309.7)
XYZxyz(37.8466, 23.3006, 82.6081)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BED #94ED5B
analogous
#6B5BED #B45BED #ED5BDD
triadic
#B45BED #EDB45B #5BEDB4
tetradic
#B45BED #ED6B5B #94ED5B #5BDDED
square
#B45BED #ED6B5B #94ED5B #5BDDED
split-complementary
#B45BED #DDED5B #5BED6B
monochromatic
#7914B9 #9B24E7 #B45BED #CD92F3 #E6C9F9

Accessibility & contrast

On white

3.71
#B45BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B45BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BED
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BED#FFFFFF#000000##000000
##B45BED1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1281F2
Deuteranopia (green-blind)
#4886EA
Tritanopia (blue-blind)
#AC789C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b45bed;
/* rgb */ color: rgb(180, 91, 237);
/* oklch */ color: oklch(64.1% 0.217 309.7);
Tailwind
colors: {
  custom: {
    50: '#ce8ef3',
    500: '#b45bed',
    950: '#000000',
  },
}
SCSS
$custom: #b45bed;
$custom-light: #ce8ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bed",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 276.575,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64131,
    "c": 0.21745,
    "h": 309.7
  },
  "luminance": 0.233
}

Semantic roles & 50–950 ramp

primary
#B45BED
secondary
#CCEBB9
accent
#DD095C
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45BED

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

Preview Lab → · Contrast checker → · Palette generator →

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