#B45DEA#B45DEA

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

Color values

HEX#B45DEA
RGBrgb(180, 93, 234)
HSLhsl(277, 77%, 64%)
HSVhsv(277, 60%, 92%)
CMYKcmyk(23.1%, 60.3%, 0%, 8.2%)
CIE-LABlab(55.56, 58.56, -57.38)
CIE-LCHlch(55.56, 81.99, 315.58°)
OKLaboklab(64.2% 0.1366 -0.1616)
OKLCHoklch(64.2% 0.212 310.2)
XYZxyz(37.5852, 23.4733, 80.3768)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DEA #93EA5D
analogous
#6E5DEA #B45DEA #EA5DDA
triadic
#B45DEA #EAB45D #5DEAB4
tetradic
#B45DEA #EA6E5D #93EA5D #5DDAEA
square
#B45DEA #EA6E5D #93EA5D #5DDAEA
split-complementary
#B45DEA #DAEA5D #5DEA6E
monochromatic
#7917B5 #9B27E3 #B45DEA #CD93F1 #E6C9F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45DEA#FFFFFF#000000##000000
##B45DEA1.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)
#2281EE
Deuteranopia (green-blind)
#4D87E7
Tritanopia (blue-blind)
#AD789B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b45dea;
/* rgb */ color: rgb(180, 93, 234);
/* oklch */ color: oklch(64.2% 0.212 310.2);
Tailwind
colors: {
  custom: {
    50: '#ce8ff1',
    500: '#b45dea',
    950: '#000000',
  },
}
SCSS
$custom: #b45dea;
$custom-light: #ce8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b45dea",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 277.021,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64202,
    "c": 0.21158,
    "h": 310.2
  },
  "luminance": 0.23473
}

Semantic roles & 50–950 ramp

primary
#B45DEA
secondary
#CCEAB9
accent
#D90C5B
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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