#B284FA#B284FA

#B284FA is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.7% C 0.171 H 300.1°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#B284FA
RGBrgb(178, 132, 250)
HSLhsl(263, 92%, 75%)
HSVhsv(263, 47%, 98%)
CMYKcmyk(28.8%, 47.2%, 0%, 2%)
CIE-LABlab(64.06, 41.32, -52.72)
CIE-LCHlch(64.06, 66.98, 308.09°)
OKLaboklab(70.7% 0.0857 -0.1481)
OKLCHoklch(70.7% 0.171 300.1)
XYZxyz(43.8627, 32.8694, 94.4575)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B284FA #CCFA84
analogous
#8491FA #B284FA #ED84FA
triadic
#B284FA #FAB284 #84FAB2
tetradic
#B284FA #FA8491 #CCFA84 #84FAED
square
#B284FA #FA8491 #CCFA84 #84FAED
split-complementary
#B284FA #FAED84 #91FA84
monochromatic
#680EF5 #8D49F8 #B284FA #D7BFFC #EDE2FE

Accessibility & contrast

On white

2.77
#B284FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#B284FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B284FA
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B284FA#FFFFFF#000000##000000
##B284FA1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#6A9AF7
Tritanopia (blue-blind)
#A49AB3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b284fa;
/* rgb */ color: rgb(178, 132, 250);
/* oklch */ color: oklch(70.7% 0.171 300.1);
Tailwind
colors: {
  custom: {
    50: '#cca8fc',
    500: '#b284fa',
    950: '#000000',
  },
}
SCSS
$custom: #b284fa;
$custom-light: #cca8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b284fa",
  "rgb": {
    "r": 178,
    "g": 132,
    "b": 250
  },
  "hsl": {
    "h": 263.39,
    "s": 92.188,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70704,
    "c": 0.17112,
    "h": 300.1
  },
  "luminance": 0.3287
}

Semantic roles & 50–950 ramp

primary
#B284FA
secondary
#E9F6D5
accent
#E6008C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B284FA

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

Preview Lab → · Contrast checker → · Palette generator →

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