#B281FC#B281FC

#B281FC is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.3% C 0.178 H 300.3°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#B281FC
RGBrgb(178, 129, 252)
HSLhsl(264, 95%, 75%)
HSVhsv(264, 49%, 99%)
CMYKcmyk(29.4%, 48.8%, 0%, 1.2%)
CIE-LABlab(63.50, 43.45, -54.69)
CIE-LCHlch(63.50, 69.85, 308.46°)
OKLaboklab(70.33% 0.0898 -0.1539)
OKLCHoklch(70.33% 0.178 300.3)
XYZxyz(43.7769, 32.1935, 95.9842)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B281FC #CBFC81
analogous
#818EFC #B281FC #EF81FC
triadic
#B281FC #FCB281 #81FCB2
tetradic
#B281FC #FC818E #CBFC81 #81FCEF
square
#B281FC #FC818E #CBFC81 #81FCEF
split-complementary
#B281FC #FCEF81 #8EFC81
monochromatic
#6909F9 #8D45FB #B281FC #D7BDFD #EDE1FE

Accessibility & contrast

On white

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

On black

7.44
#B281FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B281FC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B281FC#FFFFFF#000000##000000
##B281FC1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#A398B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b281fc;
/* rgb */ color: rgb(178, 129, 252);
/* oklch */ color: oklch(70.3% 0.178 300.3);
Tailwind
colors: {
  custom: {
    50: '#cca6fe',
    500: '#b281fc',
    950: '#000000',
  },
}
SCSS
$custom: #b281fc;
$custom-light: #cca6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b281fc",
  "rgb": {
    "r": 178,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 263.902,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70325,
    "c": 0.17816,
    "h": 300.3
  },
  "luminance": 0.32194
}

Semantic roles & 50–950 ramp

primary
#B281FC
secondary
#E9F7D4
accent
#E6008A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B281FC

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

Preview Lab → · Contrast checker → · Palette generator →

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