#B256E9#B256E9

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

Color values

HEX#B256E9
RGBrgb(178, 86, 233)
HSLhsl(278, 77%, 63%)
HSVhsv(278, 63%, 91%)
CMYKcmyk(23.6%, 63.1%, 0%, 8.6%)
CIE-LABlab(54.03, 61.21, -59.28)
CIE-LCHlch(54.03, 85.21, 315.92°)
OKLaboklab(63.03% 0.1423 -0.1672)
OKLCHoklch(63.03% 0.22 310.4)
XYZxyz(36.3931, 22.0045, 79.4051)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256E9 #8DE956
analogous
#6956E9 #B256E9 #E956D6
triadic
#B256E9 #E9B256 #56E9B2
tetradic
#B256E9 #E96956 #8DE956 #56D6E9
square
#B256E9 #E96956 #8DE956 #56D6E9
split-complementary
#B256E9 #D6E956 #56E969
monochromatic
#7517AE #9920E2 #B256E9 #CB8CF0 #E3C2F7

Accessibility & contrast

On white

3.89
#B256E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#B256E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256E9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256E9#FFFFFF#000000##000000
##B256E91.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#4483E6
Tritanopia (blue-blind)
#AB7398
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b256e9;
/* rgb */ color: rgb(178, 86, 233);
/* oklch */ color: oklch(63.0% 0.220 310.4);
Tailwind
colors: {
  custom: {
    50: '#cd8bf1',
    500: '#b256e9',
    950: '#000000',
  },
}
SCSS
$custom: #b256e9;
$custom-light: #cd8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b256e9",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 277.551,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63025,
    "c": 0.21954,
    "h": 310.4
  },
  "luminance": 0.22004
}

Semantic roles & 50–950 ramp

primary
#B256E9
secondary
#C7E8B3
accent
#D90C59
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B256E9

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

Preview Lab → · Contrast checker → · Palette generator →

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