#B154F0#B154F0

#B154F0 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.1% C 0.229 H 308.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B154F0
RGBrgb(177, 84, 240)
HSLhsl(276, 84%, 64%)
HSVhsv(276, 65%, 94%)
CMYKcmyk(26.3%, 65%, 0%, 5.9%)
CIE-LABlab(54.01, 63.42, -63.25)
CIE-LCHlch(54.01, 89.57, 315.08°)
OKLaboklab(63.12% 0.1429 -0.1788)
OKLCHoklch(63.12% 0.229 308.6)
XYZxyz(37.0268, 21.9796, 84.7131)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B154F0 #93F054
analogous
#6354F0 #B154F0 #F054E1
triadic
#B154F0 #F0B154 #54F0B1
tetradic
#B154F0 #F06354 #93F054 #54E1F0
square
#B154F0 #F06354 #93F054 #54E1F0
split-complementary
#B154F0 #E1F054 #54F063
monochromatic
#7510B9 #971CEB #B154F0 #CB8CF5 #E4C5FA

Accessibility & contrast

On white

3.89
#B154F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#B154F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B154F0
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B154F0#FFFFFF#000000##000000
##B154F01.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#3882ED
Tritanopia (blue-blind)
#A8759B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b154f0;
/* rgb */ color: rgb(177, 84, 240);
/* oklch */ color: oklch(63.1% 0.229 308.6);
Tailwind
colors: {
  custom: {
    50: '#cd8af6',
    500: '#b154f0',
    950: '#000000',
  },
}
SCSS
$custom: #b154f0;
$custom-light: #cd8af6;
$custom-dark: #000000;
JSON
{
  "hex": "#b154f0",
  "rgb": {
    "r": 177,
    "g": 84,
    "b": 240
  },
  "hsl": {
    "h": 275.769,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63117,
    "c": 0.2289,
    "h": 308.6
  },
  "luminance": 0.21979
}

Semantic roles & 50–950 ramp

primary
#B154F0
secondary
#CBECB4
accent
#E0055E
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B154F0

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

Preview Lab → · Contrast checker → · Palette generator →

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