#B154E7#B154E7

#B154E7 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.5% C 0.220 H 310.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B154E7
RGBrgb(177, 84, 231)
HSLhsl(278, 75%, 62%)
HSVhsv(278, 64%, 91%)
CMYKcmyk(23.4%, 63.6%, 0%, 9.4%)
CIE-LABlab(53.45, 61.49, -59.10)
CIE-LCHlch(53.45, 85.29, 316.14°)
OKLaboklab(62.54% 0.1434 -0.1667)
OKLCHoklch(62.54% 0.22 310.7)
XYZxyz(35.7229, 21.4581, 77.8458)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154E7 #8AE754
analogous
#6854E7 #B154E7 #E754D4
triadic
#B154E7 #E7B154 #54E7B1
tetradic
#B154E7 #E76854 #8AE754 #54D4E7
square
#B154E7 #E76854 #8AE754 #54D4E7
split-complementary
#B154E7 #D4E754 #54E768
monochromatic
#7418A9 #981FDF #B154E7 #C98AEF #E2BFF6

Accessibility & contrast

On white

3.97
#B154E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B154E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154E7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154E7#FFFFFF#000000##000000
##B154E71.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#4381E4
Tritanopia (blue-blind)
#AA7196
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b154e7;
/* rgb */ color: rgb(177, 84, 231);
/* oklch */ color: oklch(62.5% 0.220 310.7);
Tailwind
colors: {
  custom: {
    50: '#cc8aef',
    500: '#b154e7',
    950: '#000000',
  },
}
SCSS
$custom: #b154e7;
$custom-light: #cc8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#b154e7",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 277.959,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62537,
    "c": 0.21989,
    "h": 310.7
  },
  "luminance": 0.21457
}

Semantic roles & 50–950 ramp

primary
#B154E7
secondary
#C4E7B0
accent
#D80E58
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B154E7

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

Preview Lab → · Contrast checker → · Palette generator →

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