#B150E6#B150E6

#B150E6 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 62.0% C 0.224 H 311.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B150E6
RGBrgb(177, 80, 230)
HSLhsl(279, 75%, 61%)
HSVhsv(279, 65%, 90%)
CMYKcmyk(23%, 65.2%, 0%, 9.8%)
CIE-LABlab(52.73, 63.09, -59.69)
CIE-LCHlch(52.73, 86.86, 316.59°)
OKLaboklab(62% 0.1479 -0.1684)
OKLCHoklch(62% 0.224 311.3)
XYZxyz(35.2804, 20.7984, 77.0036)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B150E6 #85E650
analogous
#6650E6 #B150E6 #E650D0
triadic
#B150E6 #E6B150 #50E6B1
tetradic
#B150E6 #E66650 #85E650 #50D0E6
square
#B150E6 #E66650 #85E650 #50D0E6
split-complementary
#B150E6 #D0E650 #50E666
monochromatic
#7217A4 #981FDA #B150E6 #C986EE #E1BBF5

Accessibility & contrast

On white

4.07
#B150E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B150E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B150E6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B150E6#FFFFFF#000000##000000
##B150E61.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#3F80E3
Tritanopia (blue-blind)
#AA6E94
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b150e6;
/* rgb */ color: rgb(177, 80, 230);
/* oklch */ color: oklch(62.0% 0.224 311.3);
Tailwind
colors: {
  custom: {
    50: '#cc87ef',
    500: '#b150e6',
    950: '#000000',
  },
}
SCSS
$custom: #b150e6;
$custom-light: #cc87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b150e6",
  "rgb": {
    "r": 177,
    "g": 80,
    "b": 230
  },
  "hsl": {
    "h": 278.8,
    "s": 75,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61999,
    "c": 0.22414,
    "h": 311.3
  },
  "luminance": 0.20798
}

Semantic roles & 50–950 ramp

primary
#B150E6
secondary
#C1E5AC
accent
#D70E55
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B150E6

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

Preview Lab → · Contrast checker → · Palette generator →

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