#B282FE#B282FE

#B282FE is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.6% C 0.179 H 299.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#B282FE
RGBrgb(178, 130, 254)
HSLhsl(263, 98%, 75%)
HSVhsv(263, 49%, 100%)
CMYKcmyk(29.9%, 48.8%, 0%, 0.4%)
CIE-LABlab(63.82, 43.39, -55.28)
CIE-LCHlch(63.82, 70.27, 308.13°)
OKLaboklab(70.6% 0.0887 -0.1556)
OKLCHoklch(70.6% 0.179 299.7)
XYZxyz(44.2279, 32.5857, 97.7063)
Luminance0.3259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282FE #CEFE82
analogous
#8290FE #B282FE #F082FE
triadic
#B282FE #FEB282 #82FEB2
tetradic
#B282FE #FE8290 #CEFE82 #82FEF0
square
#B282FE #FE8290 #CEFE82 #82FEF0
split-complementary
#B282FE #FEF082 #90FE82
monochromatic
#6709FD #8D45FE #B282FE #D7BFFE #ECE1FF

Accessibility & contrast

On white

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

On black

7.52
#B282FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B282FE
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282FE#FFFFFF#000000##000000
##B282FE1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#659AFB
Tritanopia (blue-blind)
#A399B4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b282fe;
/* rgb */ color: rgb(178, 130, 254);
/* oklch */ color: oklch(70.6% 0.179 299.7);
Tailwind
colors: {
  custom: {
    50: '#cca7ff',
    500: '#b282fe',
    950: '#000000',
  },
}
SCSS
$custom: #b282fe;
$custom-light: #cca7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b282fe",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 263.226,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70599,
    "c": 0.1791,
    "h": 299.7
  },
  "luminance": 0.32586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B282FE

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

Preview Lab → · Contrast checker → · Palette generator →

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