#B150E7#B150E7

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

Color values

HEX#B150E7
RGBrgb(177, 80, 231)
HSLhsl(279, 76%, 61%)
HSVhsv(279, 65%, 91%)
CMYKcmyk(23.4%, 65.4%, 0%, 9.4%)
CIE-LABlab(52.79, 63.30, -60.16)
CIE-LCHlch(52.79, 87.33, 316.46°)
OKLaboklab(62.06% 0.1479 -0.1697)
OKLCHoklch(62.06% 0.225 311.1)
XYZxyz(35.4212, 20.8548, 77.7452)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B150E7 #86E750
analogous
#6550E7 #B150E7 #E750D1
triadic
#B150E7 #E7B150 #50E7B1
tetradic
#B150E7 #E76550 #86E750 #50D1E7
square
#B150E7 #E76550 #86E750 #50D1E7
split-complementary
#B150E7 #D1E750 #50E765
monochromatic
#7317A6 #981EDC #B150E7 #C986EE #E1BCF6

Accessibility & contrast

On white

4.06
#B150E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B150E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B150E7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B150E7#FFFFFF#000000##000000
##B150E71.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#3E80E4
Tritanopia (blue-blind)
#AA6F95
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b150e7;
/* rgb */ color: rgb(177, 80, 231);
/* oklch */ color: oklch(62.1% 0.225 311.1);
Tailwind
colors: {
  custom: {
    50: '#cc87ef',
    500: '#b150e7',
    950: '#000000',
  },
}
SCSS
$custom: #b150e7;
$custom-light: #cc87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b150e7",
  "rgb": {
    "r": 177,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 278.543,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62064,
    "c": 0.22512,
    "h": 311.1
  },
  "luminance": 0.20854
}

Semantic roles & 50–950 ramp

primary
#B150E7
secondary
#C1E6AD
accent
#D80D56
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B150E7

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

Preview Lab → · Contrast checker → · Palette generator →

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