#B45CED#B45CED

#B45CED is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.3% C 0.216 H 309.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B45CED
RGBrgb(180, 92, 237)
HSLhsl(276, 80%, 65%)
HSVhsv(276, 61%, 93%)
CMYKcmyk(24.1%, 61.2%, 0%, 7.1%)
CIE-LABlab(55.56, 59.69, -59.06)
CIE-LCHlch(55.56, 83.97, 315.31°)
OKLaboklab(64.26% 0.1377 -0.1665)
OKLCHoklch(64.26% 0.216 309.6)
XYZxyz(37.9326, 23.4727, 82.6368)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CED #95ED5C
analogous
#6C5CED #B45CED #ED5CDD
triadic
#B45CED #EDB45C #5CEDB4
tetradic
#B45CED #ED6C5C #95ED5C #5CDDED
square
#B45CED #ED6C5C #95ED5C #5CDDED
split-complementary
#B45CED #DDED5C #5CED6C
monochromatic
#7915BA #9B25E7 #B45CED #CD93F3 #E7CAF9

Accessibility & contrast

On white

3.69
#B45CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#B45CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CED
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CED#FFFFFF#000000##000000
##B45CED1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b45ced;
/* rgb */ color: rgb(180, 92, 237);
/* oklch */ color: oklch(64.3% 0.216 309.6);
Tailwind
colors: {
  custom: {
    50: '#ce8ff3',
    500: '#b45ced',
    950: '#000000',
  },
}
SCSS
$custom: #b45ced;
$custom-light: #ce8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ced",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 276.414,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64258,
    "c": 0.21608,
    "h": 309.6
  },
  "luminance": 0.23472
}

Semantic roles & 50–950 ramp

primary
#B45CED
secondary
#CDEBB9
accent
#DC095C
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45CED

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

Preview Lab → · Contrast checker → · Palette generator →

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