#B156F3#B156F3

#B156F3 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.6% C 0.229 H 307.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B156F3
RGBrgb(177, 86, 243)
HSLhsl(275, 87%, 65%)
HSVhsv(275, 65%, 95%)
CMYKcmyk(27.2%, 64.6%, 0%, 4.7%)
CIE-LABlab(54.53, 63.16, -64.08)
CIE-LCHlch(54.53, 89.98, 314.58°)
OKLaboklab(63.55% 0.1405 -0.1813)
OKLCHoklch(63.55% 0.229 307.8)
XYZxyz(37.6336, 22.4743, 87.1321)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156F3 #98F356
analogous
#6356F3 #B156F3 #F356E7
triadic
#B156F3 #F3B156 #56F3B1
tetradic
#B156F3 #F36356 #98F356 #56E7F3
square
#B156F3 #F36356 #98F356 #56E7F3
split-complementary
#B156F3 #E7F356 #56F363
monochromatic
#760EC1 #971DEF #B156F3 #CB8FF7 #E6C8FB

Accessibility & contrast

On white

3.82
#B156F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#B156F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156F3
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156F3#FFFFFF#000000##000000
##B156F31.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#3683EF
Tritanopia (blue-blind)
#A7779D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b156f3;
/* rgb */ color: rgb(177, 86, 243);
/* oklch */ color: oklch(63.6% 0.229 307.8);
Tailwind
colors: {
  custom: {
    50: '#cd8bf8',
    500: '#b156f3',
    950: '#000000',
  },
}
SCSS
$custom: #b156f3;
$custom-light: #cd8bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b156f3",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 274.777,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63553,
    "c": 0.22935,
    "h": 307.8
  },
  "luminance": 0.22474
}

Semantic roles & 50–950 ramp

primary
#B156F3
secondary
#CEEDB7
accent
#E30261
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B156F3

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

Preview Lab → · Contrast checker → · Palette generator →

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