#B15BE7#B15BE7

#B15BE7 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.4% C 0.210 H 310.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B15BE7
RGBrgb(177, 91, 231)
HSLhsl(277, 74%, 63%)
HSVhsv(277, 61%, 91%)
CMYKcmyk(23.4%, 60.6%, 0%, 9.4%)
CIE-LABlab(54.66, 58.19, -57.16)
CIE-LCHlch(54.66, 81.56, 315.51°)
OKLaboklab(63.41% 0.1353 -0.161)
OKLCHoklch(63.41% 0.21 310)
XYZxyz(36.2936, 22.5995, 78.0360)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15BE7 #91E75B
analogous
#6B5BE7 #B15BE7 #E75BD7
triadic
#B15BE7 #E7B15B #5BE7B1
tetradic
#B15BE7 #E76B5B #91E75B #5BD7E7
square
#B15BE7 #E76B5B #91E75B #5BD7E7
split-complementary
#B15BE7 #D7E75B #5BE76B
monochromatic
#7519AE #9826DF #B15BE7 #CA90EF #E4C6F7

Accessibility & contrast

On white

3.80
#B15BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B15BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15BE7
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15BE7#FFFFFF#000000##000000
##B15BE71.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7FEB
Deuteranopia (green-blind)
#4A84E4
Tritanopia (blue-blind)
#AA7699
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b15be7;
/* rgb */ color: rgb(177, 91, 231);
/* oklch */ color: oklch(63.4% 0.210 310.0);
Tailwind
colors: {
  custom: {
    50: '#cc8eef',
    500: '#b15be7',
    950: '#000000',
  },
}
SCSS
$custom: #b15be7;
$custom-light: #cc8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#b15be7",
  "rgb": {
    "r": 177,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 276.857,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63413,
    "c": 0.21031,
    "h": 310
  },
  "luminance": 0.22599
}

Semantic roles & 50–950 ramp

primary
#B15BE7
secondary
#C9E8B6
accent
#D70F5C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140D16
muted
#827D84

Preview Lab

Preview with #B15BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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