#B284EF#B284EF

#B284EF is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.1% C 0.157 H 302.4°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#B284EF
RGBrgb(178, 132, 239)
HSLhsl(266, 77%, 73%)
HSVhsv(266, 45%, 94%)
CMYKcmyk(25.5%, 44.8%, 0%, 6.3%)
CIE-LABlab(63.51, 38.70, -47.53)
CIE-LCHlch(63.51, 61.29, 309.15°)
OKLaboklab(70.12% 0.0843 -0.133)
OKLCHoklch(70.12% 0.157 302.4)
XYZxyz(42.1879, 32.1995, 85.6372)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B284EF #C1EF84
analogous
#848CEF #B284EF #E784EF
triadic
#B284EF #EFB284 #84EFB2
tetradic
#B284EF #EF848C #C1EF84 #84EFE7
square
#B284EF #EF848C #C1EF84 #84EFE7
split-complementary
#B284EF #EFE784 #8CEF84
monochromatic
#6F1DDC #904EE8 #B284EF #D4BAF6 #EEE4FB

Accessibility & contrast

On white

2.82
#B284EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#B284EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B284EF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B284EF#FFFFFF#000000##000000
##B284EF1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#7199EC
Tritanopia (blue-blind)
#A797AE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b284ef;
/* rgb */ color: rgb(178, 132, 239);
/* oklch */ color: oklch(70.1% 0.157 302.4);
Tailwind
colors: {
  custom: {
    50: '#cba8f5',
    500: '#b284ef',
    950: '#000000',
  },
}
SCSS
$custom: #b284ef;
$custom-light: #cba8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b284ef",
  "rgb": {
    "r": 178,
    "g": 132,
    "b": 239
  },
  "hsl": {
    "h": 265.794,
    "s": 76.978,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70115,
    "c": 0.15746,
    "h": 302.4
  },
  "luminance": 0.322
}

Semantic roles & 50–950 ramp

primary
#B284EF
secondary
#E7F3D8
accent
#D90C81
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B284EF

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

Preview Lab → · Contrast checker → · Palette generator →

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