#B280E2#B280E2

#B280E2 is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.8% C 0.148 H 306.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B280E2
RGBrgb(178, 128, 226)
HSLhsl(271, 63%, 69%)
HSVhsv(271, 43%, 89%)
CMYKcmyk(21.2%, 43.4%, 0%, 11.4%)
CIE-LABlab(61.99, 37.90, -42.71)
CIE-LCHlch(61.99, 57.10, 311.59°)
OKLaboklab(68.78% 0.0878 -0.119)
OKLCHoklch(68.78% 0.148 306.4)
XYZxyz(39.8040, 30.3946, 75.7066)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B280E2 #B0E280
analogous
#8180E2 #B280E2 #E280E1
triadic
#B280E2 #E2B280 #80E2B2
tetradic
#B280E2 #E28180 #B0E280 #80E1E2
square
#B280E2 #E28180 #B0E280 #80E1E2
split-complementary
#B280E2 #E1E280 #80E281
monochromatic
#752BBD #944ED7 #B280E2 #D0B2ED #EEE4F9

Accessibility & contrast

On white

2.97
#B280E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#B280E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B280E2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B280E2#FFFFFF#000000##000000
##B280E21.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6894E6
Deuteranopia (green-blind)
#7496DF
Tritanopia (blue-blind)
#AB90A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b280e2;
/* rgb */ color: rgb(178, 128, 226);
/* oklch */ color: oklch(68.8% 0.148 306.4);
Tailwind
colors: {
  custom: {
    50: '#cba6eb',
    500: '#b280e2',
    950: '#000000',
  },
}
SCSS
$custom: #b280e2;
$custom-light: #cba6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b280e2",
  "rgb": {
    "r": 178,
    "g": 128,
    "b": 226
  },
  "hsl": {
    "h": 270.612,
    "s": 62.821,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68776,
    "c": 0.14788,
    "h": 306.4
  },
  "luminance": 0.30394
}

Semantic roles & 50–950 ramp

primary
#B280E2
secondary
#DFEDD1
accent
#CB1B71
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B280E2

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

Preview Lab → · Contrast checker → · Palette generator →

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