#B284EB#B284EB

#B284EB is a light, vivid violet. Relative luminance 0.320; OKLCH L 69.9% C 0.152 H 303.3°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#B284EB
RGBrgb(178, 132, 235)
HSLhsl(267, 72%, 72%)
HSVhsv(267, 44%, 92%)
CMYKcmyk(24.3%, 43.8%, 0%, 7.8%)
CIE-LABlab(63.31, 37.76, -45.63)
CIE-LCHlch(63.31, 59.23, 309.61°)
OKLaboklab(69.91% 0.0837 -0.1275)
OKLCHoklch(69.91% 0.152 303.3)
XYZxyz(41.6035, 31.9657, 82.5594)
Luminance0.3197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B284EB #BDEB84
analogous
#848AEB #B284EB #E684EB
triadic
#B284EB #EBB284 #84EBB2
tetradic
#B284EB #EB848A #BDEB84 #84EBE6
square
#B284EB #EB848A #BDEB84 #84EBE6
split-complementary
#B284EB #EBE684 #8AEB84
monochromatic
#7122D2 #914FE2 #B284EB #D3B9F4 #EFE5FB

Accessibility & contrast

On white

2.84
#B284EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#B284EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B284EB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B284EB#FFFFFF#000000##000000
##B284EB1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#A895AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b284eb;
/* rgb */ color: rgb(178, 132, 235);
/* oklch */ color: oklch(69.9% 0.152 303.3);
Tailwind
colors: {
  custom: {
    50: '#cba8f2',
    500: '#b284eb',
    950: '#000000',
  },
}
SCSS
$custom: #b284eb;
$custom-light: #cba8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b284eb",
  "rgb": {
    "r": 178,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 266.796,
    "s": 72.028,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69908,
    "c": 0.15249,
    "h": 303.3
  },
  "luminance": 0.31966
}

Semantic roles & 50–950 ramp

primary
#B284EB
secondary
#E7F2D8
accent
#D4117D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B284EB

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

Preview Lab → · Contrast checker → · Palette generator →

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