#B279EA#B279EA

#B279EA is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.0% C 0.169 H 305.7°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#B279EA
RGBrgb(178, 121, 234)
HSLhsl(270, 73%, 70%)
HSVhsv(270, 48%, 92%)
CMYKcmyk(23.9%, 48.3%, 0%, 8.2%)
CIE-LABlab(60.85, 43.58, -48.96)
CIE-LCHlch(60.85, 65.54, 311.67°)
OKLaboklab(68.05% 0.0985 -0.1371)
OKLCHoklch(68.05% 0.169 305.7)
XYZxyz(40.0457, 29.0805, 81.3294)
Luminance0.2908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279EA #B1EA79
analogous
#7979EA #B279EA #EA79EA
triadic
#B279EA #EAB279 #79EAB2
tetradic
#B279EA #EA7979 #B1EA79 #79EAEA
square
#B279EA #EA7979 #B1EA79 #79EAEA
split-complementary
#B279EA #EAEA79 #79EA79
monochromatic
#7520C9 #9444E2 #B279EA #D0AEF2 #EFE3FB

Accessibility & contrast

On white

3.08
#B279EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#B279EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B279EA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279EA#FFFFFF#000000##000000
##B279EA1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EE
Deuteranopia (green-blind)
#6993E7
Tritanopia (blue-blind)
#A98DA7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b279ea;
/* rgb */ color: rgb(178, 121, 234);
/* oklch */ color: oklch(68.0% 0.169 305.7);
Tailwind
colors: {
  custom: {
    50: '#cba1f1',
    500: '#b279ea',
    950: '#000000',
  },
}
SCSS
$custom: #b279ea;
$custom-light: #cba1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b279ea",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 270.265,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6805,
    "c": 0.16881,
    "h": 305.7
  },
  "luminance": 0.2908
}

Semantic roles & 50–950 ramp

primary
#B279EA
secondary
#DFF0CF
accent
#D51172
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B279EA

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

Preview Lab → · Contrast checker → · Palette generator →

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