#B281FA#B281FA

#B281FA is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.2% C 0.176 H 300.7°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#B281FA
RGBrgb(178, 129, 250)
HSLhsl(264, 92%, 74%)
HSVhsv(264, 48%, 98%)
CMYKcmyk(28.8%, 48.4%, 0%, 2%)
CIE-LABlab(63.40, 42.97, -53.76)
CIE-LCHlch(63.40, 68.82, 308.63°)
OKLaboklab(70.21% 0.0896 -0.1512)
OKLCHoklch(70.21% 0.176 300.7)
XYZxyz(43.4617, 32.0674, 94.3239)
Luminance0.3207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281FA #C9FA81
analogous
#818DFA #B281FA #EF81FA
triadic
#B281FA #FAB281 #81FAB2
tetradic
#B281FA #FA818D #C9FA81 #81FAEF
square
#B281FA #FA818D #C9FA81 #81FAEF
split-complementary
#B281FA #FAEF81 #8DFA81
monochromatic
#6A0BF5 #8E46F8 #B281FA #D6BCFC #EDE2FE

Accessibility & contrast

On white

2.83
#B281FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#B281FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B281FA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281FA#FFFFFF#000000##000000
##B281FA1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FE
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#A497B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b281fa;
/* rgb */ color: rgb(178, 129, 250);
/* oklch */ color: oklch(70.2% 0.176 300.7);
Tailwind
colors: {
  custom: {
    50: '#cca6fc',
    500: '#b281fa',
    950: '#000000',
  },
}
SCSS
$custom: #b281fa;
$custom-light: #cca6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b281fa",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 264.298,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70214,
    "c": 0.17571,
    "h": 300.7
  },
  "luminance": 0.32068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B281FA

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

Preview Lab → · Contrast checker → · Palette generator →

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