#B282F0#B282F0

#B282F0 is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.8% C 0.162 H 302.6°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#B282F0
RGBrgb(178, 130, 240)
HSLhsl(266, 79%, 73%)
HSVhsv(266, 46%, 94%)
CMYKcmyk(25.8%, 45.8%, 0%, 5.9%)
CIE-LABlab(63.11, 40.04, -48.71)
CIE-LCHlch(63.11, 63.05, 309.42°)
OKLaboklab(69.84% 0.0871 -0.1364)
OKLCHoklch(69.84% 0.162 302.6)
XYZxyz(42.0674, 31.7215, 86.3278)
Luminance0.3172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282F0 #C0F082
analogous
#8289F0 #B282F0 #E982F0
triadic
#B282F0 #F0B282 #82F0B2
tetradic
#B282F0 #F08289 #C0F082 #82F0E9
square
#B282F0 #F08289 #C0F082 #82F0E9
split-complementary
#B282F0 #F0E982 #89F082
monochromatic
#6F1BDD #904BE9 #B282F0 #D4B9F7 #EEE4FC

Accessibility & contrast

On white

2.86
#B282F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#B282F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B282F0
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282F0#FFFFFF#000000##000000
##B282F01.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6398F4
Deuteranopia (green-blind)
#6E98ED
Tritanopia (blue-blind)
#A795AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b282f0;
/* rgb */ color: rgb(178, 130, 240);
/* oklch */ color: oklch(69.8% 0.162 302.6);
Tailwind
colors: {
  custom: {
    50: '#cba7f5',
    500: '#b282f0',
    950: '#000000',
  },
}
SCSS
$custom: #b282f0;
$custom-light: #cba7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b282f0",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 240
  },
  "hsl": {
    "h": 266.182,
    "s": 78.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69835,
    "c": 0.16186,
    "h": 302.6
  },
  "luminance": 0.31722
}

Semantic roles & 50–950 ramp

primary
#B282F0
secondary
#E7F4D7
accent
#DB0B80
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B282F0

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

Preview Lab → · Contrast checker → · Palette generator →

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