#B279EB#B279EB

#B279EB is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.1% C 0.170 H 305.4°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#B279EB
RGBrgb(178, 121, 235)
HSLhsl(270, 74%, 70%)
HSVhsv(270, 49%, 92%)
CMYKcmyk(24.3%, 48.5%, 0%, 7.8%)
CIE-LABlab(60.90, 43.81, -49.44)
CIE-LCHlch(60.90, 66.05, 311.54°)
OKLaboklab(68.1% 0.0986 -0.1385)
OKLCHoklch(68.1% 0.17 305.4)
XYZxyz(40.1897, 29.1381, 82.0881)
Luminance0.2914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279EB #B2EB79
analogous
#7979EB #B279EB #EB79EB
triadic
#B279EB #EBB279 #79EBB2
tetradic
#B279EB #EB7979 #B2EB79 #79EBEB
square
#B279EB #EB7979 #B2EB79 #79EBEB
split-complementary
#B279EB #EBEB79 #79EB79
monochromatic
#751ECB #9344E3 #B279EB #D1AEF3 #EFE4FB

Accessibility & contrast

On white

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

On black

6.83
#B279EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B279EB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279EB#FFFFFF#000000##000000
##B279EB1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#6893E8
Tritanopia (blue-blind)
#A98DA7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b279eb;
/* rgb */ color: rgb(178, 121, 235);
/* oklch */ color: oklch(68.1% 0.170 305.4);
Tailwind
colors: {
  custom: {
    50: '#cba1f2',
    500: '#b279eb',
    950: '#000000',
  },
}
SCSS
$custom: #b279eb;
$custom-light: #cba1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b279eb",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68104,
    "c": 0.17001,
    "h": 305.4
  },
  "luminance": 0.29138
}

Semantic roles & 50–950 ramp

primary
#B279EB
secondary
#E0F0D0
accent
#D60F73
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B279EB

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

Preview Lab → · Contrast checker → · Palette generator →

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