#B545EF#B545EF

#B545EF is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.9% C 0.247 H 311.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B545EF
RGBrgb(181, 69, 239)
HSLhsl(280, 84%, 60%)
HSVhsv(280, 71%, 94%)
CMYKcmyk(24.3%, 71.1%, 0%, 6.3%)
CIE-LABlab(52.19, 70.38, -65.59)
CIE-LCHlch(52.19, 96.20, 317.02°)
OKLaboklab(61.91% 0.1633 -0.1855)
OKLCHoklch(61.91% 0.247 311.4)
XYZxyz(36.7612, 20.3129, 83.6289)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B545EF #7FEF45
analogous
#6045EF #B545EF #EF45D4
triadic
#B545EF #EFB545 #45EFB5
tetradic
#B545EF #EF6045 #7FEF45 #45D4EF
square
#B545EF #EF6045 #7FEF45 #45D4EF
split-complementary
#B545EF #D4EF45 #45EF60
monochromatic
#760FAB #9C14E3 #B545EF #CB7DF4 #E2B6F9

Accessibility & contrast

On white

4.15
#B545EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B545EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B545EF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B545EF#FFFFFF#000000##000000
##B545EF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#2B7EEB
Tritanopia (blue-blind)
#AE6B96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b545ef;
/* rgb */ color: rgb(181, 69, 239);
/* oklch */ color: oklch(61.9% 0.247 311.4);
Tailwind
colors: {
  custom: {
    50: '#d082f5',
    500: '#b545ef',
    950: '#000000',
  },
}
SCSS
$custom: #b545ef;
$custom-light: #d082f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b545ef",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 239
  },
  "hsl": {
    "h": 279.529,
    "s": 84.158,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61908,
    "c": 0.24715,
    "h": 311.4
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#B545EF
secondary
#BEE8A7
accent
#E10550
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#150B17
muted
#837C85

Preview Lab

Preview with #B545EF

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

Preview Lab → · Contrast checker → · Palette generator →

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