#B282F9#B282F9

#B282F9 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.3% C 0.173 H 300.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#B282F9
RGBrgb(178, 130, 249)
HSLhsl(264, 91%, 74%)
HSVhsv(264, 48%, 98%)
CMYKcmyk(28.5%, 47.8%, 0%, 2.4%)
CIE-LABlab(63.57, 42.18, -52.95)
CIE-LCHlch(63.57, 67.70, 308.54°)
OKLaboklab(70.32% 0.0882 -0.1488)
OKLCHoklch(70.32% 0.173 300.7)
XYZxyz(43.4377, 32.2696, 93.5444)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282F9 #C9F982
analogous
#828EF9 #B282F9 #EE82F9
triadic
#B282F9 #F9B282 #82F9B2
tetradic
#B282F9 #F9828E #C9F982 #82F9EE
square
#B282F9 #F9828E #C9F982 #82F9EE
split-complementary
#B282F9 #F9EE82 #8EF982
monochromatic
#6A0DF3 #8E48F6 #B282F9 #D6BCFC #EDE2FE

Accessibility & contrast

On white

2.82
#B282F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#B282F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B282F9
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282F9#FFFFFF#000000##000000
##B282F91.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FD
Deuteranopia (green-blind)
#6899F6
Tritanopia (blue-blind)
#A498B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b282f9;
/* rgb */ color: rgb(178, 130, 249);
/* oklch */ color: oklch(70.3% 0.173 300.7);
Tailwind
colors: {
  custom: {
    50: '#cca7fc',
    500: '#b282f9',
    950: '#000000',
  },
}
SCSS
$custom: #b282f9;
$custom-light: #cca7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b282f9",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 249
  },
  "hsl": {
    "h": 264.202,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70321,
    "c": 0.17295,
    "h": 300.7
  },
  "luminance": 0.3227
}

Semantic roles & 50–950 ramp

primary
#B282F9
secondary
#E9F6D5
accent
#E60089
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B282F9

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

Preview Lab → · Contrast checker → · Palette generator →

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