#B279E2#B279E2

#B279E2 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.6% C 0.159 H 307.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#B279E2
RGBrgb(178, 121, 226)
HSLhsl(273, 64%, 68%)
HSVhsv(273, 46%, 89%)
CMYKcmyk(21.2%, 46.5%, 0%, 11.4%)
CIE-LABlab(60.45, 41.75, -45.13)
CIE-LCHlch(60.45, 61.48, 312.77°)
OKLaboklab(67.62% 0.0975 -0.126)
OKLCHoklch(67.62% 0.159 307.7)
XYZxyz(38.9222, 28.6311, 75.4127)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279E2 #A9E279
analogous
#7D79E2 #B279E2 #E279DE
triadic
#B279E2 #E2B279 #79E2B2
tetradic
#B279E2 #E27D79 #A9E279 #79DEE2
square
#B279E2 #E27D79 #A9E279 #79DEE2
split-complementary
#B279E2 #DEE279 #79E27D
monochromatic
#7628B9 #9547D7 #B279E2 #CFABED #ECDEF8

Accessibility & contrast

On white

3.12
#B279E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#B279E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B279E2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279E2#FFFFFF#000000##000000
##B279E21.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8FE6
Deuteranopia (green-blind)
#6E92DF
Tritanopia (blue-blind)
#AB8AA3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b279e2;
/* rgb */ color: rgb(178, 121, 226);
/* oklch */ color: oklch(67.6% 0.159 307.7);
Tailwind
colors: {
  custom: {
    50: '#cba1eb',
    500: '#b279e2',
    950: '#000000',
  },
}
SCSS
$custom: #b279e2;
$custom-light: #cba1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b279e2",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 272.571,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67623,
    "c": 0.1593,
    "h": 307.7
  },
  "luminance": 0.28631
}

Semantic roles & 50–950 ramp

primary
#B279E2
secondary
#DAEBCB
accent
#CC196B
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B279E2

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

Preview Lab → · Contrast checker → · Palette generator →

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