#B282E3#B282E3

#B282E3 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.2% C 0.146 H 305.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#B282E3
RGBrgb(178, 130, 227)
HSLhsl(270, 63%, 70%)
HSVhsv(270, 43%, 89%)
CMYKcmyk(21.6%, 42.7%, 0%, 11%)
CIE-LABlab(62.49, 37.02, -42.49)
CIE-LCHlch(62.49, 56.36, 311.07°)
OKLaboklab(69.16% 0.0852 -0.1184)
OKLCHoklch(69.16% 0.146 305.7)
XYZxyz(40.2050, 30.9766, 76.5192)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282E3 #B3E382
analogous
#8282E3 #B282E3 #E382E3
triadic
#B282E3 #E3B282 #82E3B2
tetradic
#B282E3 #E38282 #B3E382 #82E3E3
square
#B282E3 #E38282 #B3E382 #82E3E3
split-complementary
#B282E3 #E3E382 #82E382
monochromatic
#752BC0 #9350D8 #B282E3 #D1B4EE #F0E6F9

Accessibility & contrast

On white

2.92
#B282E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#B282E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B282E3
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282E3#FFFFFF#000000##000000
##B282E31.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E7
Deuteranopia (green-blind)
#7697E0
Tritanopia (blue-blind)
#AA92A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b282e3;
/* rgb */ color: rgb(178, 130, 227);
/* oklch */ color: oklch(69.2% 0.146 305.7);
Tailwind
colors: {
  custom: {
    50: '#cba7ec',
    500: '#b282e3',
    950: '#000000',
  },
}
SCSS
$custom: #b282e3;
$custom-light: #cba7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b282e3",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 227
  },
  "hsl": {
    "h": 269.691,
    "s": 63.399,
    "l": 70
  },
  "oklch": {
    "l": 0.69163,
    "c": 0.14583,
    "h": 305.7
  },
  "luminance": 0.30976
}

Semantic roles & 50–950 ramp

primary
#B282E3
secondary
#E1EED3
accent
#CB1A74
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B282E3

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

Preview Lab → · Contrast checker → · Palette generator →

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