#B256FF#B256FF

#B256FF is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.5% C 0.242 H 305.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B256FF
RGBrgb(178, 86, 255)
HSLhsl(273, 100%, 67%)
HSVhsv(273, 66%, 100%)
CMYKcmyk(30.2%, 66.3%, 0%, 0%)
CIE-LABlab(55.42, 66.01, -69.30)
CIE-LCHlch(55.42, 95.71, 313.61°)
OKLaboklab(64.47% 0.1407 -0.1966)
OKLCHoklch(64.47% 0.242 305.6)
XYZxyz(39.7339, 23.3409, 97.0003)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256FF #A3FF56
analogous
#5E56FF #B256FF #FF56F7
triadic
#B256FF #FFB256 #56FFB2
tetradic
#B256FF #FF5E56 #A3FF56 #56F7FF
square
#B256FF #FF5E56 #A3FF56 #56F7FF
split-complementary
#B256FF #F7FF56 #56FF5E
monochromatic
#7700DB #9619FF #B256FF #CE93FF #EAD0FF

Accessibility & contrast

On white

3.70
#B256FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#B256FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256FF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256FF#FFFFFF#000000##000000
##B256FF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#2285FB
Tritanopia (blue-blind)
#A47BA4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b256ff;
/* rgb */ color: rgb(178, 86, 255);
/* oklch */ color: oklch(64.5% 0.242 305.6);
Tailwind
colors: {
  custom: {
    50: '#ce8cff',
    500: '#b256ff',
    950: '#000000',
  },
}
SCSS
$custom: #b256ff;
$custom-light: #ce8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#b256ff",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 272.663,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64467,
    "c": 0.24173,
    "h": 305.6
  },
  "luminance": 0.23341
}

Semantic roles & 50–950 ramp

primary
#B256FF
secondary
#D6F3BD
accent
#E60069
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B256FF

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

Preview Lab → · Contrast checker → · Palette generator →

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