#B45CE5#B45CE5

#B45CE5 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.8% C 0.208 H 311.5°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B45CE5
RGBrgb(180, 92, 229)
HSLhsl(279, 72%, 63%)
HSVhsv(279, 60%, 90%)
CMYKcmyk(21.4%, 59.8%, 0%, 10.2%)
CIE-LABlab(55.09, 57.97, -55.32)
CIE-LCHlch(55.09, 80.14, 316.34°)
OKLaboklab(63.77% 0.1378 -0.1556)
OKLCHoklch(63.77% 0.208 311.5)
XYZxyz(36.7898, 23.0156, 76.6180)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CE5 #8DE55C
analogous
#6F5CE5 #B45CE5 #E55CD2
triadic
#B45CE5 #E5B45C #5CE5B4
tetradic
#B45CE5 #E56F5C #8DE55C #5CD2E5
square
#B45CE5 #E56F5C #8DE55C #5CD2E5
split-complementary
#B45CE5 #D2E55C #5CE56F
monochromatic
#781BAB #9C27DD #B45CE5 #CC91ED #E5C6F6

Accessibility & contrast

On white

3.75
#B45CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B45CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CE5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CE5#FFFFFF#000000##000000
##B45CE51.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2880E9
Deuteranopia (green-blind)
#5086E2
Tritanopia (blue-blind)
#AE7598
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45ce5;
/* rgb */ color: rgb(180, 92, 229);
/* oklch */ color: oklch(63.8% 0.208 311.5);
Tailwind
colors: {
  custom: {
    50: '#ce8eee',
    500: '#b45ce5',
    950: '#000000',
  },
}
SCSS
$custom: #b45ce5;
$custom-light: #ce8eee;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ce5",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 278.54,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63768,
    "c": 0.20784,
    "h": 311.5
  },
  "luminance": 0.23015
}

Semantic roles & 50–950 ramp

primary
#B45CE5
secondary
#C7E7B6
accent
#D51157
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B45CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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