#B154EF#B154EF

#B154EF is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.1% C 0.228 H 308.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B154EF
RGBrgb(177, 84, 239)
HSLhsl(276, 83%, 63%)
HSVhsv(276, 65%, 94%)
CMYKcmyk(25.9%, 64.9%, 0%, 6.3%)
CIE-LABlab(53.94, 63.21, -62.79)
CIE-LCHlch(53.94, 89.09, 315.19°)
OKLaboklab(63.05% 0.1429 -0.1775)
OKLCHoklch(63.05% 0.228 308.8)
XYZxyz(36.8786, 21.9204, 83.9329)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154EF #92EF54
analogous
#6354EF #B154EF #EF54DF
triadic
#B154EF #EFB154 #54EFB1
tetradic
#B154EF #EF6354 #92EF54 #54DFEF
square
#B154EF #EF6354 #92EF54 #54DFEF
split-complementary
#B154EF #DFEF54 #54EF63
monochromatic
#7511B7 #971CEA #B154EF #CB8CF4 #E4C4F9

Accessibility & contrast

On white

3.90
#B154EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B154EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154EF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154EF#FFFFFF#000000##000000
##B154EF1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#3982EC
Tritanopia (blue-blind)
#A8749B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b154ef;
/* rgb */ color: rgb(177, 84, 239);
/* oklch */ color: oklch(63.1% 0.228 308.8);
Tailwind
colors: {
  custom: {
    50: '#cd8af5',
    500: '#b154ef',
    950: '#000000',
  },
}
SCSS
$custom: #b154ef;
$custom-light: #cd8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#b154ef",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 276,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63052,
    "c": 0.2279,
    "h": 308.8
  },
  "luminance": 0.2192
}

Semantic roles & 50–950 ramp

primary
#B154EF
secondary
#CAEBB4
accent
#DF065D
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B154EF

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

Preview Lab → · Contrast checker → · Palette generator →

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