#B282FF#B282FF

#B282FF is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.7% C 0.180 H 299.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#B282FF
RGBrgb(178, 130, 255)
HSLhsl(263, 100%, 75%)
HSVhsv(263, 49%, 100%)
CMYKcmyk(30.2%, 49%, 0%, 0%)
CIE-LABlab(63.88, 43.63, -55.75)
CIE-LCHlch(63.88, 70.79, 308.05°)
OKLaboklab(70.66% 0.0888 -0.1569)
OKLCHoklch(70.66% 0.18 299.5)
XYZxyz(44.3885, 32.6499, 98.5519)
Luminance0.3265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282FF #CFFF82
analogous
#8290FF #B282FF #F082FF
triadic
#B282FF #FFB282 #82FFB2
tetradic
#B282FF #FF8290 #CFFF82 #82FFF0
square
#B282FF #FF8290 #CFFF82 #82FFF0
split-complementary
#B282FF #FFF082 #90FF82
monochromatic
#6708FF #8C45FF #B282FF #D8BFFF #ECE0FF

Accessibility & contrast

On white

2.79
#B282FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#B282FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B282FF
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282FF#FFFFFF#000000##000000
##B282FF1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#589BFF
Deuteranopia (green-blind)
#649AFC
Tritanopia (blue-blind)
#A299B5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b282ff;
/* rgb */ color: rgb(178, 130, 255);
/* oklch */ color: oklch(70.7% 0.180 299.5);
Tailwind
colors: {
  custom: {
    50: '#cca7ff',
    500: '#b282ff',
    950: '#000000',
  },
}
SCSS
$custom: #b282ff;
$custom-light: #cca7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b282ff",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 255
  },
  "hsl": {
    "h": 263.04,
    "s": 100,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70655,
    "c": 0.18032,
    "h": 299.5
  },
  "luminance": 0.3265
}

Semantic roles & 50–950 ramp

primary
#B282FF
secondary
#EAF7D4
accent
#E6008D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B282FF

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

Preview Lab → · Contrast checker → · Palette generator →

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