#B279EF#B279EF

#B279EF is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.3% C 0.175 H 304.5°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#B279EF
RGBrgb(178, 121, 239)
HSLhsl(269, 79%, 71%)
HSVhsv(269, 49%, 94%)
CMYKcmyk(25.5%, 49.4%, 0%, 6.3%)
CIE-LABlab(61.11, 44.73, -51.33)
CIE-LCHlch(61.11, 68.09, 311.07°)
OKLaboklab(68.32% 0.099 -0.144)
OKLCHoklch(68.32% 0.175 304.5)
XYZxyz(40.7741, 29.3719, 85.1659)
Luminance0.2937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279EF #B6EF79
analogous
#797BEF #B279EF #ED79EF
triadic
#B279EF #EFB279 #79EFB2
tetradic
#B279EF #EF797B #B6EF79 #79EFED
square
#B279EF #EF797B #B6EF79 #79EFED
split-complementary
#B279EF #EFED79 #7BEF79
monochromatic
#7419D4 #9342E8 #B279EF #D1B0F6 #EFE4FC

Accessibility & contrast

On white

3.05
#B279EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#B279EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B279EF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279EF#FFFFFF#000000##000000
##B279EF1.003.056.876.87
#FFFFFF3.051.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F3
Deuteranopia (green-blind)
#6594EC
Tritanopia (blue-blind)
#A88EA9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b279ef;
/* rgb */ color: rgb(178, 121, 239);
/* oklch */ color: oklch(68.3% 0.175 304.5);
Tailwind
colors: {
  custom: {
    50: '#cca1f5',
    500: '#b279ef',
    950: '#000000',
  },
}
SCSS
$custom: #b279ef;
$custom-light: #cca1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b279ef",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 268.983,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68323,
    "c": 0.17476,
    "h": 304.5
  },
  "luminance": 0.29372
}

Semantic roles & 50–950 ramp

primary
#B279EF
secondary
#E2F2D2
accent
#DB0B76
background
#FCFAFF
surface
#F9F3FE
border
#D2CDD6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B279EF

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

Preview Lab → · Contrast checker → · Palette generator →

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