#B284DA#B284DA

#B284DA is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.1% C 0.131 H 307.9°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#B284DA
RGBrgb(178, 132, 218)
HSLhsl(272, 54%, 69%)
HSVhsv(272, 39%, 85%)
CMYKcmyk(18.3%, 39.4%, 0%, 14.5%)
CIE-LABlab(62.53, 33.88, -37.41)
CIE-LCHlch(62.53, 50.47, 312.17°)
OKLaboklab(69.06% 0.0807 -0.1037)
OKLCHoklch(69.06% 0.131 307.9)
XYZxyz(39.2638, 31.0299, 70.2370)
Luminance0.3103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B284DA #ACDA84
analogous
#8784DA #B284DA #DA84D7
triadic
#B284DA #DAB284 #84DAB2
tetradic
#B284DA #DA8784 #ACDA84 #84D7DA
square
#B284DA #DA8784 #ACDA84 #84D7DA
split-complementary
#B284DA #D7DA84 #84DA87
monochromatic
#7635AF #9555CC #B284DA #CFB3E8 #EDE2F6

Accessibility & contrast

On white

2.91
#B284DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#B284DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B284DA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B284DA#FFFFFF#000000##000000
##B284DA1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7295DD
Deuteranopia (green-blind)
#7C98D8
Tritanopia (blue-blind)
#AD91A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b284da;
/* rgb */ color: rgb(178, 132, 218);
/* oklch */ color: oklch(69.1% 0.131 307.9);
Tailwind
colors: {
  custom: {
    50: '#caa8e6',
    500: '#b284da',
    950: '#000000',
  },
}
SCSS
$custom: #b284da;
$custom-light: #caa8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b284da",
  "rgb": {
    "r": 178,
    "g": 132,
    "b": 218
  },
  "hsl": {
    "h": 272.093,
    "s": 53.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69063,
    "c": 0.13139,
    "h": 307.9
  },
  "luminance": 0.31029
}

Semantic roles & 50–950 ramp

primary
#B284DA
secondary
#DCEAD0
accent
#C1246D
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B284DA

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

Preview Lab → · Contrast checker → · Palette generator →

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