#B284CD#B284CD

#B284CD is a light, moderate violet. Relative luminance 0.304; OKLCH L 68.5% C 0.116 H 312.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B284CD
RGBrgb(178, 132, 205)
HSLhsl(278, 42%, 66%)
HSVhsv(278, 36%, 80%)
CMYKcmyk(13.2%, 35.6%, 0%, 19.6%)
CIE-LABlab(61.98, 31.03, -30.99)
CIE-LCHlch(61.98, 43.86, 315.03°)
OKLaboklab(68.46% 0.0779 -0.0853)
OKLCHoklch(68.46% 0.116 312.4)
XYZxyz(37.6290, 30.3759, 61.6266)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B284CD #9FCD84
analogous
#8D84CD #B284CD #CD84C3
triadic
#B284CD #CDB284 #84CDB2
tetradic
#B284CD #CD8D84 #9FCD84 #84C3CD
square
#B284CD #CD8D84 #9FCD84 #84C3CD
split-complementary
#B284CD #C3CD84 #84CD8D
monochromatic
#773E99 #9758BB #B284CD #CDB0DF #E8DBF0

Accessibility & contrast

On white

2.97
#B284CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#B284CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B284CD
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B284CD#FFFFFF#000000##000000
##B284CD1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793D0
Deuteranopia (green-blind)
#8297CB
Tritanopia (blue-blind)
#B08E9F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b284cd;
/* rgb */ color: rgb(178, 132, 205);
/* oklch */ color: oklch(68.5% 0.116 312.4);
Tailwind
colors: {
  custom: {
    50: '#caa8dc',
    500: '#b284cd',
    950: '#000000',
  },
}
SCSS
$custom: #b284cd;
$custom-light: #caa8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b284cd",
  "rgb": {
    "r": 178,
    "g": 132,
    "b": 205
  },
  "hsl": {
    "h": 277.808,
    "s": 42.197,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6846,
    "c": 0.1155,
    "h": 312.4
  },
  "luminance": 0.30375
}

Semantic roles & 50–950 ramp

primary
#B284CD
secondary
#D3E2CA
accent
#B53061
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B284CD

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

Preview Lab → · Contrast checker → · Palette generator →

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