#B256E8#B256E8

#B256E8 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.0% C 0.219 H 310.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B256E8
RGBrgb(178, 86, 232)
HSLhsl(278, 76%, 62%)
HSVhsv(278, 63%, 91%)
CMYKcmyk(23.3%, 62.9%, 0%, 9%)
CIE-LABlab(53.97, 61.00, -58.81)
CIE-LCHlch(53.97, 84.74, 316.05°)
OKLaboklab(62.96% 0.1424 -0.1658)
OKLCHoklch(62.96% 0.219 310.6)
XYZxyz(36.2506, 21.9475, 78.6549)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256E8 #8CE856
analogous
#6956E8 #B256E8 #E856D5
triadic
#B256E8 #E8B256 #56E8B2
tetradic
#B256E8 #E86956 #8CE856 #56D5E8
square
#B256E8 #E86956 #8CE856 #56D5E8
split-complementary
#B256E8 #D5E856 #56E869
monochromatic
#7517AC #9920E1 #B256E8 #CB8CEF #E3C2F7

Accessibility & contrast

On white

3.90
#B256E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#B256E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256E8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256E8#FFFFFF#000000##000000
##B256E81.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#017DEC
Deuteranopia (green-blind)
#4583E5
Tritanopia (blue-blind)
#AB7397
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b256e8;
/* rgb */ color: rgb(178, 86, 232);
/* oklch */ color: oklch(63.0% 0.219 310.6);
Tailwind
colors: {
  custom: {
    50: '#cd8bf0',
    500: '#b256e8',
    950: '#000000',
  },
}
SCSS
$custom: #b256e8;
$custom-light: #cd8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#b256e8",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 277.808,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62962,
    "c": 0.21853,
    "h": 310.6
  },
  "luminance": 0.21947
}

Semantic roles & 50–950 ramp

primary
#B256E8
secondary
#C6E8B2
accent
#D80D58
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B256E8

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

Preview Lab → · Contrast checker → · Palette generator →

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