#B154E6#B154E6

#B154E6 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.5% C 0.219 H 311.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B154E6
RGBrgb(177, 84, 230)
HSLhsl(278, 74%, 62%)
HSVhsv(278, 63%, 90%)
CMYKcmyk(23%, 63.5%, 0%, 9.8%)
CIE-LABlab(53.39, 61.28, -58.63)
CIE-LCHlch(53.39, 84.81, 316.26°)
OKLaboklab(62.47% 0.1435 -0.1653)
OKLCHoklch(62.47% 0.219 311)
XYZxyz(35.5820, 21.4017, 77.1041)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154E6 #89E654
analogous
#6854E6 #B154E6 #E654D2
triadic
#B154E6 #E6B154 #54E6B1
tetradic
#B154E6 #E66854 #89E654 #54D2E6
square
#B154E6 #E66854 #89E654 #54D2E6
split-complementary
#B154E6 #D2E654 #54E668
monochromatic
#7318A7 #9820DD #B154E6 #C989EE #E2BFF6

Accessibility & contrast

On white

3.98
#B154E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#B154E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154E6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154E6#FFFFFF#000000##000000
##B154E61.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#4481E3
Tritanopia (blue-blind)
#AA7196
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b154e6;
/* rgb */ color: rgb(177, 84, 230);
/* oklch */ color: oklch(62.5% 0.219 311.0);
Tailwind
colors: {
  custom: {
    50: '#cc8aef',
    500: '#b154e6',
    950: '#000000',
  },
}
SCSS
$custom: #b154e6;
$custom-light: #cc8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#b154e6",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 278.219,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62474,
    "c": 0.21888,
    "h": 311
  },
  "luminance": 0.21401
}

Semantic roles & 50–950 ramp

primary
#B154E6
secondary
#C3E6B0
accent
#D70F57
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B154E6

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

Preview Lab → · Contrast checker → · Palette generator →

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