#B282EF#B282EF

#B282EF is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.8% C 0.161 H 302.8°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#B282EF
RGBrgb(178, 130, 239)
HSLhsl(266, 77%, 72%)
HSVhsv(266, 46%, 94%)
CMYKcmyk(25.5%, 45.6%, 0%, 6.3%)
CIE-LABlab(63.06, 39.81, -48.23)
CIE-LCHlch(63.06, 62.54, 309.53°)
OKLaboklab(69.78% 0.087 -0.135)
OKLCHoklch(69.78% 0.161 302.8)
XYZxyz(41.9193, 31.6623, 85.5476)
Luminance0.3166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282EF #BFEF82
analogous
#8289EF #B282EF #E982EF
triadic
#B282EF #EFB282 #82EFB2
tetradic
#B282EF #EF8289 #BFEF82 #82EFE9
square
#B282EF #EF8289 #BFEF82 #82EFE9
split-complementary
#B282EF #EFE982 #89EF82
monochromatic
#701CDB #914CE8 #B282EF #D3B8F6 #EEE4FC

Accessibility & contrast

On white

2.86
#B282EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#B282EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B282EF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282EF#FFFFFF#000000##000000
##B282EF1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6398F3
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#A795AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b282ef;
/* rgb */ color: rgb(178, 130, 239);
/* oklch */ color: oklch(69.8% 0.161 302.8);
Tailwind
colors: {
  custom: {
    50: '#cba7f5',
    500: '#b282ef',
    950: '#000000',
  },
}
SCSS
$custom: #b282ef;
$custom-light: #cba7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b282ef",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 266.422,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69782,
    "c": 0.16063,
    "h": 302.8
  },
  "luminance": 0.31662
}

Semantic roles & 50–950 ramp

primary
#B282EF
secondary
#E7F3D8
accent
#DA0C7F
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B282EF

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

Preview Lab → · Contrast checker → · Palette generator →

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