#B256EE#B256EE

#B256EE is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.3% C 0.225 H 309.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B256EE
RGBrgb(178, 86, 238)
HSLhsl(276, 82%, 64%)
HSVhsv(276, 64%, 93%)
CMYKcmyk(25.2%, 63.9%, 0%, 6.7%)
CIE-LABlab(54.34, 62.29, -61.59)
CIE-LCHlch(54.34, 87.59, 315.32°)
OKLaboklab(63.34% 0.1421 -0.1739)
OKLCHoklch(63.34% 0.225 309.2)
XYZxyz(37.1174, 22.2943, 83.2202)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256EE #92EE56
analogous
#6656EE #B256EE #EE56DE
triadic
#B256EE #EEB256 #56EEB2
tetradic
#B256EE #EE6656 #92EE56 #56DEEE
square
#B256EE #EE6656 #92EE56 #56DEEE
split-complementary
#B256EE #DEEE56 #56EE66
monochromatic
#7612B7 #991EE8 #B256EE #CB8EF4 #E5C5F9

Accessibility & contrast

On white

3.85
#B256EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#B256EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256EE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256EE#FFFFFF#000000##000000
##B256EE1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#3E83EB
Tritanopia (blue-blind)
#A9759B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b256ee;
/* rgb */ color: rgb(178, 86, 238);
/* oklch */ color: oklch(63.3% 0.225 309.2);
Tailwind
colors: {
  custom: {
    50: '#cd8bf4',
    500: '#b256ee',
    950: '#000000',
  },
}
SCSS
$custom: #b256ee;
$custom-light: #cd8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b256ee",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 276.316,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63344,
    "c": 0.22458,
    "h": 309.2
  },
  "luminance": 0.22294
}

Semantic roles & 50–950 ramp

primary
#B256EE
secondary
#CAEBB5
accent
#DE075C
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B256EE

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

Preview Lab → · Contrast checker → · Palette generator →

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