#B280F2#B280F2

#B280F2 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.6% C 0.167 H 302.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#B280F2
RGBrgb(178, 128, 242)
HSLhsl(266, 81%, 73%)
HSVhsv(266, 47%, 95%)
CMYKcmyk(26.4%, 47.1%, 0%, 5.1%)
CIE-LABlab(62.77, 41.61, -50.35)
CIE-LCHlch(62.77, 65.32, 309.57°)
OKLaboklab(69.61% 0.09 -0.1412)
OKLCHoklch(69.61% 0.167 302.5)
XYZxyz(42.1027, 31.3141, 87.8133)
Luminance0.3131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B280F2 #C0F280
analogous
#8087F2 #B280F2 #EB80F2
triadic
#B280F2 #F2B280 #80F2B2
tetradic
#B280F2 #F28087 #C0F280 #80F2EB
square
#B280F2 #F28087 #C0F280 #80F2EB
split-complementary
#B280F2 #F2EB80 #87F280
monochromatic
#6F17E1 #9048EC #B280F2 #D4B8F8 #EEE3FC

Accessibility & contrast

On white

2.89
#B280F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#B280F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B280F2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B280F2#FFFFFF#000000##000000
##B280F21.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#6B98EF
Tritanopia (blue-blind)
#A694AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b280f2;
/* rgb */ color: rgb(178, 128, 242);
/* oklch */ color: oklch(69.6% 0.167 302.5);
Tailwind
colors: {
  custom: {
    50: '#cba6f7',
    500: '#b280f2',
    950: '#000000',
  },
}
SCSS
$custom: #b280f2;
$custom-light: #cba6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b280f2",
  "rgb": {
    "r": 178,
    "g": 128,
    "b": 242
  },
  "hsl": {
    "h": 266.316,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69613,
    "c": 0.16746,
    "h": 302.5
  },
  "luminance": 0.31314
}

Semantic roles & 50–950 ramp

primary
#B280F2
secondary
#E7F4D7
accent
#DE0880
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B280F2

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

Preview Lab → · Contrast checker → · Palette generator →

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