#B15BF8#B15BF8

#B15BF8 is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.5% C 0.228 H 306.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B15BF8
RGBrgb(177, 91, 248)
HSLhsl(273, 92%, 66%)
HSVhsv(273, 63%, 97%)
CMYKcmyk(28.6%, 63.3%, 0%, 2.7%)
CIE-LABlab(55.69, 61.93, -64.99)
CIE-LCHlch(55.69, 89.77, 313.62°)
OKLaboklab(64.49% 0.1346 -0.184)
OKLCHoklch(64.49% 0.228 306.2)
XYZxyz(38.8122, 23.6070, 91.3007)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15BF8 #A2F85B
analogous
#635BF8 #B15BF8 #F85BF1
triadic
#B15BF8 #F8B15B #5BF8B1
tetradic
#B15BF8 #F8635B #A2F85B #5BF1F8
square
#B15BF8 #F8635B #A2F85B #5BF1F8
split-complementary
#B15BF8 #F1F85B #5BF863
monochromatic
#7609D0 #9520F5 #B15BF8 #CD96FB #E9D0FD

Accessibility & contrast

On white

3.67
#B15BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#B15BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15BF8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15BF8#FFFFFF#000000##000000
##B15BF81.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FD
Deuteranopia (green-blind)
#3686F4
Tritanopia (blue-blind)
#A57CA2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b15bf8;
/* rgb */ color: rgb(177, 91, 248);
/* oklch */ color: oklch(64.5% 0.228 306.2);
Tailwind
colors: {
  custom: {
    50: '#cd8efb',
    500: '#b15bf8',
    950: '#000000',
  },
}
SCSS
$custom: #b15bf8;
$custom-light: #cd8efb;
$custom-dark: #000000;
JSON
{
  "hex": "#b15bf8",
  "rgb": {
    "r": 177,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 272.866,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64493,
    "c": 0.22797,
    "h": 306.2
  },
  "luminance": 0.23607
}

Semantic roles & 50–950 ramp

primary
#B15BF8
secondary
#D5F1BE
accent
#E60068
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B15BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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