#B154E1#B154E1

#B154E1 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.2% C 0.214 H 312.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B154E1
RGBrgb(177, 84, 225)
HSLhsl(280, 70%, 61%)
HSVhsv(280, 63%, 88%)
CMYKcmyk(21.3%, 62.7%, 0%, 11.8%)
CIE-LABlab(53.09, 60.22, -56.30)
CIE-LCHlch(53.09, 82.44, 316.93°)
OKLaboklab(62.16% 0.1437 -0.1584)
OKLCHoklch(62.16% 0.214 312.2)
XYZxyz(34.8900, 21.1249, 73.4591)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154E1 #84E154
analogous
#6A54E1 #B154E1 #E154CB
triadic
#B154E1 #E1B154 #54E1B1
tetradic
#B154E1 #E16A54 #84E154 #54CBE1
square
#B154E1 #E16A54 #84E154 #54CBE1
split-complementary
#B154E1 #CBE154 #54E16A
monochromatic
#721C9F #9825D3 #B154E1 #C988EA #E0BCF3

Accessibility & contrast

On white

4.02
#B154E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#B154E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154E1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154E1#FFFFFF#000000##000000
##B154E11.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#127AE5
Deuteranopia (green-blind)
#4981DE
Tritanopia (blue-blind)
#AC6F93
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b154e1;
/* rgb */ color: rgb(177, 84, 225);
/* oklch */ color: oklch(62.2% 0.214 312.2);
Tailwind
colors: {
  custom: {
    50: '#cc89eb',
    500: '#b154e1',
    950: '#000000',
  },
}
SCSS
$custom: #b154e1;
$custom-light: #cc89eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b154e1",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 279.574,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6216,
    "c": 0.21388,
    "h": 312.2
  },
  "luminance": 0.21124
}

Semantic roles & 50–950 ramp

primary
#B154E1
secondary
#C0E3AE
accent
#D21354
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B154E1

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

Preview Lab → · Contrast checker → · Palette generator →

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