#B282FB#B282FB

#B282FB is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.4% C 0.175 H 300.3°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B282FB
RGBrgb(178, 130, 251)
HSLhsl(264, 94%, 75%)
HSVhsv(264, 48%, 98%)
CMYKcmyk(29.1%, 48.2%, 0%, 1.6%)
CIE-LABlab(63.67, 42.66, -53.88)
CIE-LCHlch(63.67, 68.73, 308.37°)
OKLaboklab(70.43% 0.0884 -0.1515)
OKLCHoklch(70.43% 0.175 300.3)
XYZxyz(43.7513, 32.3950, 95.1960)
Luminance0.3240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282FB #CBFB82
analogous
#828FFB #B282FB #EF82FB
triadic
#B282FB #FBB282 #82FBB2
tetradic
#B282FB #FB828F #CBFB82 #82FBEF
square
#B282FB #FB828F #CBFB82 #82FBEF
split-complementary
#B282FB #FBEF82 #8FFB82
monochromatic
#690BF7 #8D47F9 #B282FB #D7BDFD #EDE1FE

Accessibility & contrast

On white

2.81
#B282FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#B282FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B282FB
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282FB#FFFFFF#000000##000000
##B282FB1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#6799F8
Tritanopia (blue-blind)
#A498B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b282fb;
/* rgb */ color: rgb(178, 130, 251);
/* oklch */ color: oklch(70.4% 0.175 300.3);
Tailwind
colors: {
  custom: {
    50: '#cca7fd',
    500: '#b282fb',
    950: '#000000',
  },
}
SCSS
$custom: #b282fb;
$custom-light: #cca7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b282fb",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 263.802,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70432,
    "c": 0.17541,
    "h": 300.3
  },
  "luminance": 0.32395
}

Semantic roles & 50–950 ramp

primary
#B282FB
secondary
#E9F6D5
accent
#E6008A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B282FB

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

Preview Lab → · Contrast checker → · Palette generator →

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