#B279F8#B279F8

#B279F8 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.8% C 0.185 H 302.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#B279F8
RGBrgb(178, 121, 248)
HSLhsl(267, 90%, 72%)
HSVhsv(267, 51%, 97%)
CMYKcmyk(28.2%, 51.2%, 0%, 2.7%)
CIE-LABlab(61.58, 46.84, -55.55)
CIE-LCHlch(61.58, 72.66, 310.14°)
OKLaboklab(68.83% 0.0997 -0.1564)
OKLCHoklch(68.83% 0.185 302.5)
XYZxyz(42.1369, 29.9170, 92.3434)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279F8 #BFF879
analogous
#7980F8 #B279F8 #F179F8
triadic
#B279F8 #F8B279 #79F8B2
tetradic
#B279F8 #F87980 #BFF879 #79F8F1
square
#B279F8 #F87980 #BFF879 #79F8F1
split-complementary
#B279F8 #F8F179 #80F879
monochromatic
#700CEA #913FF5 #B279F8 #D3B3FB #EEE2FD

Accessibility & contrast

On white

3.01
#B279F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#B279F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B279F8
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279F8#FFFFFF#000000##000000
##B279F81.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FC
Deuteranopia (green-blind)
#5F94F5
Tritanopia (blue-blind)
#A591AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b279f8;
/* rgb */ color: rgb(178, 121, 248);
/* oklch */ color: oklch(68.8% 0.185 302.5);
Tailwind
colors: {
  custom: {
    50: '#cca1fb',
    500: '#b279f8',
    950: '#000000',
  },
}
SCSS
$custom: #b279f8;
$custom-light: #cca1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b279f8",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 266.929,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68829,
    "c": 0.18547,
    "h": 302.5
  },
  "luminance": 0.29917
}

Semantic roles & 50–950 ramp

primary
#B279F8
secondary
#E7F6D5
accent
#E6007E
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B279F8

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

Preview Lab → · Contrast checker → · Palette generator →

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