#B15BEB#B15BEB

#B15BEB is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.7% C 0.214 H 309.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B15BEB
RGBrgb(177, 91, 235)
HSLhsl(276, 78%, 64%)
HSVhsv(276, 61%, 92%)
CMYKcmyk(24.7%, 61.3%, 0%, 7.8%)
CIE-LABlab(54.89, 59.06, -59.02)
CIE-LCHlch(54.89, 83.49, 315.02°)
OKLaboklab(63.66% 0.1352 -0.1665)
OKLCHoklch(63.66% 0.214 309.1)
XYZxyz(36.8650, 22.8281, 81.0454)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15BEB #95EB5B
analogous
#695BEB #B15BEB #EB5BDD
triadic
#B15BEB #EBB15B #5BEBB1
tetradic
#B15BEB #EB695B #95EB5B #5BDDEB
square
#B15BEB #EB695B #95EB5B #5BDDEB
split-complementary
#B15BEB #DDEB5B #5BEB69
monochromatic
#7516B5 #9724E4 #B15BEB #CB92F2 #E5C8F8

Accessibility & contrast

On white

3.77
#B15BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B15BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15BEB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15BEB#FFFFFF#000000##000000
##B15BEB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1480EF
Deuteranopia (green-blind)
#4785E8
Tritanopia (blue-blind)
#A9779B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b15beb;
/* rgb */ color: rgb(177, 91, 235);
/* oklch */ color: oklch(63.7% 0.214 309.1);
Tailwind
colors: {
  custom: {
    50: '#cc8ef2',
    500: '#b15beb',
    950: '#000000',
  },
}
SCSS
$custom: #b15beb;
$custom-light: #cc8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b15beb",
  "rgb": {
    "r": 177,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 275.833,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63661,
    "c": 0.21447,
    "h": 309.1
  },
  "luminance": 0.22827
}

Semantic roles & 50–950 ramp

primary
#B15BEB
secondary
#CCEAB8
accent
#DB0B5F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140D17
muted
#827D85

Preview Lab

Preview with #B15BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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