#B279E4#B279E4

#B279E4 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.162 H 307.2°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#B279E4
RGBrgb(178, 121, 228)
HSLhsl(272, 66%, 68%)
HSVhsv(272, 47%, 89%)
CMYKcmyk(21.9%, 46.9%, 0%, 10.6%)
CIE-LABlab(60.55, 42.20, -46.10)
CIE-LCHlch(60.55, 62.50, 312.48°)
OKLaboklab(67.73% 0.0977 -0.1288)
OKLCHoklch(67.73% 0.162 307.2)
XYZxyz(39.1983, 28.7416, 76.8664)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279E4 #ABE479
analogous
#7C79E4 #B279E4 #E479E0
triadic
#B279E4 #E4B279 #79E4B2
tetradic
#B279E4 #E47C79 #ABE479 #79E0E4
square
#B279E4 #E47C79 #ABE479 #79E0E4
split-complementary
#B279E4 #E0E479 #79E47C
monochromatic
#7626BD #9546DA #B279E4 #CFACEE #EDDFF9

Accessibility & contrast

On white

3.11
#B279E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#B279E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B279E4
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279E4#FFFFFF#000000##000000
##B279E41.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D90E8
Deuteranopia (green-blind)
#6C93E1
Tritanopia (blue-blind)
#AB8BA4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b279e4;
/* rgb */ color: rgb(178, 121, 228);
/* oklch */ color: oklch(67.7% 0.162 307.2);
Tailwind
colors: {
  custom: {
    50: '#cba1ed',
    500: '#b279e4',
    950: '#000000',
  },
}
SCSS
$custom: #b279e4;
$custom-light: #cba1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b279e4",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 228
  },
  "hsl": {
    "h": 271.963,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67729,
    "c": 0.16168,
    "h": 307.2
  },
  "luminance": 0.28741
}

Semantic roles & 50–950 ramp

primary
#B279E4
secondary
#DBECCC
accent
#CE176D
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B279E4

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

Preview Lab → · Contrast checker → · Palette generator →

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