#B279FB#B279FB

#B279FB is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.0% C 0.189 H 301.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#B279FB
RGBrgb(178, 121, 251)
HSLhsl(266, 94%, 73%)
HSVhsv(266, 52%, 98%)
CMYKcmyk(29.1%, 51.8%, 0%, 1.6%)
CIE-LABlab(61.74, 47.56, -56.94)
CIE-LCHlch(61.74, 74.19, 309.87°)
OKLaboklab(69% 0.0999 -0.1604)
OKLCHoklch(69% 0.189 301.9)
XYZxyz(42.6061, 30.1047, 94.8142)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279FB #C2FB79
analogous
#7981FB #B279FB #F379FB
triadic
#B279FB #FBB279 #79FBB2
tetradic
#B279FB #FB7981 #C2FB79 #79FBF3
square
#B279FB #FB7981 #C2FB79 #79FBF3
split-complementary
#B279FB #FBF379 #81FB79
monochromatic
#6E07F2 #903EF9 #B279FB #D4B4FD #EEE1FE

Accessibility & contrast

On white

2.99
#B279FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#B279FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B279FB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279FB#FFFFFF#000000##000000
##B279FB1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FF
Deuteranopia (green-blind)
#5C95F8
Tritanopia (blue-blind)
#A492AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b279fb;
/* rgb */ color: rgb(178, 121, 251);
/* oklch */ color: oklch(69.0% 0.189 301.9);
Tailwind
colors: {
  custom: {
    50: '#cca1fd',
    500: '#b279fb',
    950: '#000000',
  },
}
SCSS
$custom: #b279fb;
$custom-light: #cca1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b279fb",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 266.308,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69001,
    "c": 0.18903,
    "h": 301.9
  },
  "luminance": 0.30105
}

Semantic roles & 50–950 ramp

primary
#B279FB
secondary
#E8F6D5
accent
#E60081
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B279FB

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

Preview Lab → · Contrast checker → · Palette generator →

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