#B754EB#B754EB

#B754EB is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.5% C 0.226 H 311.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B754EB
RGBrgb(183, 84, 235)
HSLhsl(279, 79%, 63%)
HSVhsv(279, 64%, 92%)
CMYKcmyk(22.1%, 64.3%, 0%, 7.8%)
CIE-LABlab(54.46, 63.65, -59.68)
CIE-LCHlch(54.46, 87.26, 316.84°)
OKLaboklab(63.51% 0.1507 -0.1682)
OKLCHoklch(63.51% 0.226 311.8)
XYZxyz(37.6914, 22.4070, 80.9206)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B754EB #88EB54
analogous
#6C54EB #B754EB #EB54D3
triadic
#B754EB #EBB754 #54EBB7
tetradic
#B754EB #EB6C54 #88EB54 #54D3EB
square
#B754EB #EB6C54 #88EB54 #54D3EB
split-complementary
#B754EB #D3EB54 #54EB6C
monochromatic
#7A15B0 #A01DE5 #B754EB #CE8BF1 #E5C2F8

Accessibility & contrast

On white

3.83
#B754EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#B754EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B754EB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B754EB#FFFFFF#000000##000000
##B754EB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#4684E8
Tritanopia (blue-blind)
#B17298
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b754eb;
/* rgb */ color: rgb(183, 84, 235);
/* oklch */ color: oklch(63.5% 0.226 311.8);
Tailwind
colors: {
  custom: {
    50: '#d18af2',
    500: '#b754eb',
    950: '#000000',
  },
}
SCSS
$custom: #b754eb;
$custom-light: #d18af2;
$custom-dark: #000000;
JSON
{
  "hex": "#b754eb",
  "rgb": {
    "r": 183,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 279.338,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63505,
    "c": 0.2258,
    "h": 311.8
  },
  "luminance": 0.22406
}

Semantic roles & 50–950 ramp

primary
#B754EB
secondary
#C5E9B2
accent
#DB0A52
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B754EB

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

Preview Lab → · Contrast checker → · Palette generator →

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