#B279FE#B279FE

#B279FE is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.2% C 0.193 H 301.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B279FE
RGBrgb(178, 121, 254)
HSLhsl(266, 99%, 74%)
HSVhsv(266, 52%, 100%)
CMYKcmyk(29.9%, 52.4%, 0%, 0.4%)
CIE-LABlab(61.91, 48.27, -58.33)
CIE-LCHlch(61.91, 75.72, 309.61°)
OKLaboklab(69.18% 0.1001 -0.1645)
OKLCHoklch(69.18% 0.193 301.3)
XYZxyz(43.0827, 30.2953, 97.3246)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279FE #C5FE79
analogous
#7982FE #B279FE #F479FE
triadic
#B279FE #FEB279 #79FEB2
tetradic
#B279FE #FE7982 #C5FE79 #79FEF4
square
#B279FE #FE7982 #C5FE79 #79FEF4
split-complementary
#B279FE #FEF479 #82FE79
monochromatic
#6D02FB #8F3CFE #B279FE #D5B6FE #EEE1FF

Accessibility & contrast

On white

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

On black

7.06
#B279FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B279FE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279FE#FFFFFF#000000##000000
##B279FE1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#5A95FB
Tritanopia (blue-blind)
#A392B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b279fe;
/* rgb */ color: rgb(178, 121, 254);
/* oklch */ color: oklch(69.2% 0.193 301.3);
Tailwind
colors: {
  custom: {
    50: '#cca1ff',
    500: '#b279fe',
    950: '#000000',
  },
}
SCSS
$custom: #b279fe;
$custom-light: #cca1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b279fe",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 265.714,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69176,
    "c": 0.19258,
    "h": 301.3
  },
  "luminance": 0.30295
}

Semantic roles & 50–950 ramp

primary
#B279FE
secondary
#E8F7D4
accent
#E60083
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B279FE

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

Preview Lab → · Contrast checker → · Palette generator →

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