#B256ED#B256ED

#B256ED is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.3% C 0.224 H 309.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B256ED
RGBrgb(178, 86, 237)
HSLhsl(277, 81%, 63%)
HSVhsv(277, 64%, 93%)
CMYKcmyk(24.9%, 63.7%, 0%, 7.1%)
CIE-LABlab(54.28, 62.07, -61.13)
CIE-LCHlch(54.28, 87.12, 315.44°)
OKLaboklab(63.28% 0.1421 -0.1726)
OKLCHoklch(63.28% 0.224 309.5)
XYZxyz(36.9709, 22.2357, 82.4486)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256ED #91ED56
analogous
#6656ED #B256ED #ED56DD
triadic
#B256ED #EDB256 #56EDB2
tetradic
#B256ED #ED6656 #91ED56 #56DDED
square
#B256ED #ED6656 #91ED56 #56DDED
split-complementary
#B256ED #DDED56 #56ED66
monochromatic
#7613B5 #991FE7 #B256ED #CB8DF3 #E4C5F9

Accessibility & contrast

On white

3.86
#B256ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#B256ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256ED
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256ED#FFFFFF#000000##000000
##B256ED1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#4083EA
Tritanopia (blue-blind)
#AA759A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b256ed;
/* rgb */ color: rgb(178, 86, 237);
/* oklch */ color: oklch(63.3% 0.224 309.5);
Tailwind
colors: {
  custom: {
    50: '#cd8bf4',
    500: '#b256ed',
    950: '#000000',
  },
}
SCSS
$custom: #b256ed;
$custom-light: #cd8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b256ed",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 276.556,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63279,
    "c": 0.22358,
    "h": 309.5
  },
  "luminance": 0.22235
}

Semantic roles & 50–950 ramp

primary
#B256ED
secondary
#CAEAB4
accent
#DD085C
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B256ED

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

Preview Lab → · Contrast checker → · Palette generator →

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