#B282E1#B282E1

#B282E1 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.1% C 0.143 H 306.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B282E1
RGBrgb(178, 130, 225)
HSLhsl(270, 61%, 70%)
HSVhsv(270, 42%, 88%)
CMYKcmyk(20.9%, 42.2%, 0%, 11.8%)
CIE-LABlab(62.40, 36.57, -41.52)
CIE-LCHlch(62.40, 55.33, 311.37°)
OKLaboklab(69.06% 0.0848 -0.1156)
OKLCHoklch(69.06% 0.143 306.3)
XYZxyz(39.9306, 30.8668, 75.0739)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282E1 #B1E182
analogous
#8382E1 #B282E1 #E182E0
triadic
#B282E1 #E1B282 #82E1B2
tetradic
#B282E1 #E18382 #B1E182 #82E0E1
square
#B282E1 #E18382 #B1E182 #82E0E1
split-complementary
#B282E1 #E0E182 #82E183
monochromatic
#752DBC #9451D5 #B282E1 #D0B3ED #EFE5F9

Accessibility & contrast

On white

2.93
#B282E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B282E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B282E1
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282E1#FFFFFF#000000##000000
##B282E11.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C95E4
Deuteranopia (green-blind)
#7797DE
Tritanopia (blue-blind)
#AB91A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b282e1;
/* rgb */ color: rgb(178, 130, 225);
/* oklch */ color: oklch(69.1% 0.143 306.3);
Tailwind
colors: {
  custom: {
    50: '#cba7eb',
    500: '#b282e1',
    950: '#000000',
  },
}
SCSS
$custom: #b282e1;
$custom-light: #cba7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b282e1",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 225
  },
  "hsl": {
    "h": 270.316,
    "s": 61.29,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69063,
    "c": 0.14336,
    "h": 306.3
  },
  "luminance": 0.30866
}

Semantic roles & 50–950 ramp

primary
#B282E1
secondary
#DFEDD2
accent
#C91D72
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B282E1

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

Preview Lab → · Contrast checker → · Palette generator →

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