#B282F5#B282F5

#B282F5 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.1% C 0.168 H 301.5°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#B282F5
RGBrgb(178, 130, 245)
HSLhsl(265, 85%, 74%)
HSVhsv(265, 47%, 96%)
CMYKcmyk(27.3%, 46.9%, 0%, 3.9%)
CIE-LABlab(63.36, 41.23, -51.07)
CIE-LCHlch(63.36, 65.63, 308.91°)
OKLaboklab(70.1% 0.0877 -0.1433)
OKLCHoklch(70.1% 0.168 301.5)
XYZxyz(42.8204, 32.0227, 90.2936)
Luminance0.3202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282F5 #C5F582
analogous
#828BF5 #B282F5 #EB82F5
triadic
#B282F5 #F5B282 #82F5B2
tetradic
#B282F5 #F5828B #C5F582 #82F5EB
square
#B282F5 #F5828B #C5F582 #82F5EB
split-complementary
#B282F5 #F5EB82 #8BF582
monochromatic
#6D13EA #8F49F0 #B282F5 #D5BBFA #EEE3FD

Accessibility & contrast

On white

2.84
#B282F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#B282F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B282F5
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282F5#FFFFFF#000000##000000
##B282F51.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099F9
Deuteranopia (green-blind)
#6B99F2
Tritanopia (blue-blind)
#A597B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b282f5;
/* rgb */ color: rgb(178, 130, 245);
/* oklch */ color: oklch(70.1% 0.168 301.5);
Tailwind
colors: {
  custom: {
    50: '#cba7f9',
    500: '#b282f5',
    950: '#000000',
  },
}
SCSS
$custom: #b282f5;
$custom-light: #cba7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b282f5",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 245
  },
  "hsl": {
    "h": 265.043,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70103,
    "c": 0.16804,
    "h": 301.5
  },
  "luminance": 0.32023
}

Semantic roles & 50–950 ramp

primary
#B282F5
secondary
#E8F5D6
accent
#E20485
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B282F5

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

Preview Lab → · Contrast checker → · Palette generator →

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