#B154EC#B154EC

#B154EC is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.9% C 0.225 H 309.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B154EC
RGBrgb(177, 84, 236)
HSLhsl(277, 80%, 63%)
HSVhsv(277, 64%, 93%)
CMYKcmyk(25%, 64.4%, 0%, 7.5%)
CIE-LABlab(53.76, 62.56, -61.41)
CIE-LCHlch(53.76, 87.67, 315.53°)
OKLaboklab(62.86% 0.1432 -0.1734)
OKLCHoklch(62.86% 0.225 309.5)
XYZxyz(36.4391, 21.7446, 81.6181)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154EC #8FEC54
analogous
#6554EC #B154EC #EC54DB
triadic
#B154EC #ECB154 #54ECB1
tetradic
#B154EC #EC6554 #8FEC54 #54DBEC
square
#B154EC #EC6554 #8FEC54 #54DBEC
split-complementary
#B154EC #DBEC54 #54EC65
monochromatic
#7414B2 #981DE6 #B154EC #CA8BF2 #E3C2F8

Accessibility & contrast

On white

3.93
#B154EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B154EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154EC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154EC#FFFFFF#000000##000000
##B154EC1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#3D82E9
Tritanopia (blue-blind)
#A97399
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b154ec;
/* rgb */ color: rgb(177, 84, 236);
/* oklch */ color: oklch(62.9% 0.225 309.5);
Tailwind
colors: {
  custom: {
    50: '#cc8af3',
    500: '#b154ec',
    950: '#000000',
  },
}
SCSS
$custom: #b154ec;
$custom-light: #cc8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#b154ec",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 276.711,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62857,
    "c": 0.22489,
    "h": 309.5
  },
  "luminance": 0.21744
}

Semantic roles & 50–950 ramp

primary
#B154EC
secondary
#C8E9B2
accent
#DC095B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B154EC

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

Preview Lab → · Contrast checker → · Palette generator →

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