#B15BEF#B15BEF

#B15BEF is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.9% C 0.219 H 308.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B15BEF
RGBrgb(177, 91, 239)
HSLhsl(275, 82%, 65%)
HSVhsv(275, 62%, 94%)
CMYKcmyk(25.9%, 61.9%, 0%, 6.3%)
CIE-LABlab(55.14, 59.93, -60.87)
CIE-LCHlch(55.14, 85.42, 314.56°)
OKLaboklab(63.91% 0.1351 -0.1719)
OKLCHoklch(63.91% 0.219 308.2)
XYZxyz(37.4494, 23.0618, 84.1232)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15BEF #99EF5B
analogous
#675BEF #B15BEF #EF5BE3
triadic
#B15BEF #EFB15B #5BEFB1
tetradic
#B15BEF #EF675B #99EF5B #5BE3EF
square
#B15BEF #EF675B #99EF5B #5BE3EF
split-complementary
#B15BEF #E3EF5B #5BEF67
monochromatic
#7612BD #9623EA #B15BEF #CC93F4 #E6CBFA

Accessibility & contrast

On white

3.74
#B15BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#B15BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15BEF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15BEF#FFFFFF#000000##000000
##B15BEF1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0181F4
Deuteranopia (green-blind)
#4285EC
Tritanopia (blue-blind)
#A8799D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b15bef;
/* rgb */ color: rgb(177, 91, 239);
/* oklch */ color: oklch(63.9% 0.219 308.2);
Tailwind
colors: {
  custom: {
    50: '#cc8ef5',
    500: '#b15bef',
    950: '#000000',
  },
}
SCSS
$custom: #b15bef;
$custom-light: #cc8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#b15bef",
  "rgb": {
    "r": 177,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 274.865,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63913,
    "c": 0.21862,
    "h": 308.2
  },
  "luminance": 0.23061
}

Semantic roles & 50–950 ramp

primary
#B15BEF
secondary
#CFECBA
accent
#DF0761
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B15BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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