#B256E4#B256E4

#B256E4 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.7% C 0.214 H 311.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B256E4
RGBrgb(178, 86, 228)
HSLhsl(279, 72%, 62%)
HSVhsv(279, 62%, 89%)
CMYKcmyk(21.9%, 62.3%, 0%, 10.6%)
CIE-LABlab(53.73, 60.15, -56.95)
CIE-LCHlch(53.73, 82.83, 316.57°)
OKLaboklab(62.71% 0.1425 -0.1603)
OKLCHoklch(62.71% 0.215 311.6)
XYZxyz(35.6889, 21.7229, 75.6966)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256E4 #88E456
analogous
#6B56E4 #B256E4 #E456CF
triadic
#B256E4 #E4B256 #56E4B2
tetradic
#B256E4 #E46B56 #88E456 #56CFE4
square
#B256E4 #E46B56 #88E456 #56CFE4
split-complementary
#B256E4 #CFE456 #56E46B
monochromatic
#741AA5 #9923DA #B256E4 #CA8BEC #E2C0F5

Accessibility & contrast

On white

3.93
#B256E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#B256E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256E4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256E4#FFFFFF#000000##000000
##B256E41.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#147CE8
Deuteranopia (green-blind)
#4982E1
Tritanopia (blue-blind)
#AC7195
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b256e4;
/* rgb */ color: rgb(178, 86, 228);
/* oklch */ color: oklch(62.7% 0.214 311.6);
Tailwind
colors: {
  custom: {
    50: '#cd8bed',
    500: '#b256e4',
    950: '#000000',
  },
}
SCSS
$custom: #b256e4;
$custom-light: #cd8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#b256e4",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 278.873,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62712,
    "c": 0.2145,
    "h": 311.6
  },
  "luminance": 0.21722
}

Semantic roles & 50–950 ramp

primary
#B256E4
secondary
#C3E5B0
accent
#D51156
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B256E4

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

Preview Lab → · Contrast checker → · Palette generator →

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