#B282EE#B282EE

#B282EE is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.7% C 0.159 H 303.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#B282EE
RGBrgb(178, 130, 238)
HSLhsl(267, 76%, 72%)
HSVhsv(267, 45%, 93%)
CMYKcmyk(25.2%, 45.4%, 0%, 6.7%)
CIE-LABlab(63.01, 39.57, -47.76)
CIE-LCHlch(63.01, 62.02, 309.64°)
OKLaboklab(69.73% 0.0868 -0.1337)
OKLCHoklch(69.73% 0.159 303)
XYZxyz(41.7720, 31.6033, 84.7717)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282EE #BEEE82
analogous
#8288EE #B282EE #E882EE
triadic
#B282EE #EEB282 #82EEB2
tetradic
#B282EE #EE8288 #BEEE82 #82EEE8
square
#B282EE #EE8288 #BEEE82 #82EEE8
split-complementary
#B282EE #EEE882 #88EE82
monochromatic
#701DD8 #914CE7 #B282EE #D3B8F5 #EEE4FB

Accessibility & contrast

On white

2.87
#B282EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#B282EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B282EE
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282EE#FFFFFF#000000##000000
##B282EE1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F2
Deuteranopia (green-blind)
#7098EB
Tritanopia (blue-blind)
#A795AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b282ee;
/* rgb */ color: rgb(178, 130, 238);
/* oklch */ color: oklch(69.7% 0.159 303.0);
Tailwind
colors: {
  custom: {
    50: '#cba7f4',
    500: '#b282ee',
    950: '#000000',
  },
}
SCSS
$custom: #b282ee;
$custom-light: #cba7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b282ee",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 238
  },
  "hsl": {
    "h": 266.667,
    "s": 76.056,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69729,
    "c": 0.15939,
    "h": 303
  },
  "luminance": 0.31603
}

Semantic roles & 50–950 ramp

primary
#B282EE
secondary
#E7F3D8
accent
#D80D7E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B282EE

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

Preview Lab → · Contrast checker → · Palette generator →

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