#B282FC#B282FC

#B282FC is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.5% C 0.177 H 300.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#B282FC
RGBrgb(178, 130, 252)
HSLhsl(264, 95%, 75%)
HSVhsv(264, 48%, 99%)
CMYKcmyk(29.4%, 48.4%, 0%, 1.2%)
CIE-LABlab(63.72, 42.90, -54.35)
CIE-LCHlch(63.72, 69.24, 308.29°)
OKLaboklab(70.49% 0.0885 -0.1529)
OKLCHoklch(70.49% 0.177 300.1)
XYZxyz(43.9093, 32.4583, 96.0284)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282FC #CCFC82
analogous
#828FFC #B282FC #EF82FC
triadic
#B282FC #FCB282 #82FCB2
tetradic
#B282FC #FC828F #CCFC82 #82FCEF
square
#B282FC #FC828F #CCFC82 #82FCEF
split-complementary
#B282FC #FCEF82 #8FFC82
monochromatic
#680AF9 #8D46FB #B282FC #D7BEFD #EDE1FE

Accessibility & contrast

On white

2.80
#B282FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#B282FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B282FC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282FC#FFFFFF#000000##000000
##B282FC1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#669AF9
Tritanopia (blue-blind)
#A399B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b282fc;
/* rgb */ color: rgb(178, 130, 252);
/* oklch */ color: oklch(70.5% 0.177 300.1);
Tailwind
colors: {
  custom: {
    50: '#cca7fe',
    500: '#b282fc',
    950: '#000000',
  },
}
SCSS
$custom: #b282fc;
$custom-light: #cca7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b282fc",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 263.607,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70487,
    "c": 0.17665,
    "h": 300.1
  },
  "luminance": 0.32459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B282FC

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

Preview Lab → · Contrast checker → · Palette generator →

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