#B158DE#B158DE

#B158DE is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.5% C 0.205 H 312.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B158DE
RGBrgb(177, 88, 222)
HSLhsl(280, 67%, 61%)
HSVhsv(280, 60%, 87%)
CMYKcmyk(20.3%, 60.4%, 0%, 12.9%)
CIE-LABlab(53.60, 57.70, -53.78)
CIE-LCHlch(53.60, 78.88, 317.02°)
OKLaboklab(62.48% 0.139 -0.1511)
OKLCHoklch(62.48% 0.205 312.6)
XYZxyz(34.8037, 21.6014, 71.4292)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B158DE #85DE58
analogous
#6E58DE #B158DE #DE58C8
triadic
#B158DE #DEB158 #58DEB1
tetradic
#B158DE #DE6E58 #85DE58 #58C8DE
square
#B158DE #DE6E58 #85DE58 #58C8DE
split-complementary
#B158DE #C8DE58 #58DE6E
monochromatic
#721F9D #9829D0 #B158DE #C98BE8 #E1BEF2

Accessibility & contrast

On white

3.95
#B158DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#B158DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B158DE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B158DE#FFFFFF#000000##000000
##B158DE1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#277BE2
Deuteranopia (green-blind)
#4F82DB
Tritanopia (blue-blind)
#AC7193
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b158de;
/* rgb */ color: rgb(177, 88, 222);
/* oklch */ color: oklch(62.5% 0.205 312.6);
Tailwind
colors: {
  custom: {
    50: '#cc8ce9',
    500: '#b158de',
    950: '#000000',
  },
}
SCSS
$custom: #b158de;
$custom-light: #cc8ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#b158de",
  "rgb": {
    "r": 177,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 279.851,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62477,
    "c": 0.2053,
    "h": 312.6
  },
  "luminance": 0.216
}

Semantic roles & 50–950 ramp

primary
#B158DE
secondary
#C1E2B0
accent
#CF1754
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B158DE

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

Preview Lab → · Contrast checker → · Palette generator →

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