#B279EC#B279EC

#B279EC is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.2% C 0.171 H 305.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#B279EC
RGBrgb(178, 121, 236)
HSLhsl(270, 75%, 70%)
HSVhsv(270, 49%, 93%)
CMYKcmyk(24.6%, 48.7%, 0%, 7.5%)
CIE-LABlab(60.95, 44.04, -49.91)
CIE-LCHlch(60.95, 66.56, 311.42°)
OKLaboklab(68.16% 0.0987 -0.1399)
OKLCHoklch(68.16% 0.171 305.2)
XYZxyz(40.3346, 29.1961, 82.8511)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279EC #B3EC79
analogous
#797AEC #B279EC #EB79EC
triadic
#B279EC #ECB279 #79ECB2
tetradic
#B279EC #EC797A #B3EC79 #79ECEB
square
#B279EC #EC797A #B3EC79 #79ECEB
split-complementary
#B279EC #ECEB79 #7AEC79
monochromatic
#751DCD #9343E4 #B279EC #D1AFF4 #F0E4FB

Accessibility & contrast

On white

3.07
#B279EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#B279EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B279EC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279EC#FFFFFF#000000##000000
##B279EC1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891F0
Deuteranopia (green-blind)
#6793E9
Tritanopia (blue-blind)
#A98DA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b279ec;
/* rgb */ color: rgb(178, 121, 236);
/* oklch */ color: oklch(68.2% 0.171 305.2);
Tailwind
colors: {
  custom: {
    50: '#cba1f2',
    500: '#b279ec',
    950: '#000000',
  },
}
SCSS
$custom: #b279ec;
$custom-light: #cba1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b279ec",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 269.739,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.68159,
    "c": 0.1712,
    "h": 305.2
  },
  "luminance": 0.29196
}

Semantic roles & 50–950 ramp

primary
#B279EC
secondary
#E1F0D0
accent
#D70E74
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B279EC

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

Preview Lab → · Contrast checker → · Palette generator →

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