#B151E6#B151E6

#B151E6 is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.1% C 0.223 H 311.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B151E6
RGBrgb(177, 81, 230)
HSLhsl(279, 75%, 61%)
HSVhsv(279, 65%, 90%)
CMYKcmyk(23%, 64.8%, 0%, 9.8%)
CIE-LABlab(52.89, 62.65, -59.43)
CIE-LCHlch(52.89, 86.35, 316.51°)
OKLaboklab(62.12% 0.1468 -0.1676)
OKLCHoklch(62.12% 0.223 311.2)
XYZxyz(35.3542, 20.9460, 77.0281)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151E6 #86E651
analogous
#6651E6 #B151E6 #E651D0
triadic
#B151E6 #E6B151 #51E6B1
tetradic
#B151E6 #E66651 #86E651 #51D0E6
square
#B151E6 #E66651 #86E651 #51D0E6
split-complementary
#B151E6 #D0E651 #51E666
monochromatic
#7318A5 #981FDA #B151E6 #C987EE #E1BCF5

Accessibility & contrast

On white

4.05
#B151E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B151E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151E6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151E6#FFFFFF#000000##000000
##B151E61.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#4080E3
Tritanopia (blue-blind)
#AA6F95
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b151e6;
/* rgb */ color: rgb(177, 81, 230);
/* oklch */ color: oklch(62.1% 0.223 311.2);
Tailwind
colors: {
  custom: {
    50: '#cc88ef',
    500: '#b151e6',
    950: '#000000',
  },
}
SCSS
$custom: #b151e6;
$custom-light: #cc88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b151e6",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 278.658,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62116,
    "c": 0.22284,
    "h": 311.2
  },
  "luminance": 0.20945
}

Semantic roles & 50–950 ramp

primary
#B151E6
secondary
#C1E5AD
accent
#D70E56
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B151E6

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

Preview Lab → · Contrast checker → · Palette generator →

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