#B256EA#B256EA

#B256EA is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.1% C 0.221 H 310.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B256EA
RGBrgb(178, 86, 234)
HSLhsl(277, 78%, 63%)
HSVhsv(277, 63%, 92%)
CMYKcmyk(23.9%, 63.2%, 0%, 8.2%)
CIE-LABlab(54.09, 61.43, -59.74)
CIE-LCHlch(54.09, 85.69, 315.80°)
OKLaboklab(63.09% 0.1423 -0.1685)
OKLCHoklch(63.09% 0.221 310.2)
XYZxyz(36.5363, 22.0618, 80.1596)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256EA #8EEA56
analogous
#6856EA #B256EA #EA56D8
triadic
#B256EA #EAB256 #56EAB2
tetradic
#B256EA #EA6856 #8EEA56 #56D8EA
square
#B256EA #EA6856 #8EEA56 #56D8EA
split-complementary
#B256EA #D8EA56 #56EA68
monochromatic
#7616B0 #9920E3 #B256EA #CB8CF1 #E4C3F8

Accessibility & contrast

On white

3.88
#B256EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#B256EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256EA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256EA#FFFFFF#000000##000000
##B256EA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#4383E7
Tritanopia (blue-blind)
#AB7499
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b256ea;
/* rgb */ color: rgb(178, 86, 234);
/* oklch */ color: oklch(63.1% 0.221 310.2);
Tailwind
colors: {
  custom: {
    50: '#cd8bf1',
    500: '#b256ea',
    950: '#000000',
  },
}
SCSS
$custom: #b256ea;
$custom-light: #cd8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b256ea",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 277.297,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63088,
    "c": 0.22055,
    "h": 310.2
  },
  "luminance": 0.22061
}

Semantic roles & 50–950 ramp

primary
#B256EA
secondary
#C7E9B3
accent
#DA0B5A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B256EA

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

Preview Lab → · Contrast checker → · Palette generator →

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