#B279DA#B279DA

#B279DA is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.2% C 0.150 H 310.0°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B279DA
RGBrgb(178, 121, 218)
HSLhsl(275, 57%, 66%)
HSVhsv(275, 44%, 85%)
CMYKcmyk(18.3%, 44.5%, 0%, 14.5%)
CIE-LABlab(60.07, 39.96, -41.26)
CIE-LCHlch(60.07, 57.44, 314.08°)
OKLaboklab(67.21% 0.0963 -0.1148)
OKLCHoklch(67.21% 0.15 310)
XYZxyz(37.8500, 28.2023, 69.7657)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279DA #A1DA79
analogous
#8279DA #B279DA #DA79D2
triadic
#B279DA #DAB279 #79DAB2
tetradic
#B279DA #DA8279 #A1DA79 #79D2DA
square
#B279DA #DA8279 #A1DA79 #79D2DA
split-complementary
#B279DA #D2DA79 #79DA82
monochromatic
#772FAA #9649CD #B279DA #CEA9E7 #E9D9F4

Accessibility & contrast

On white

3.16
#B279DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#B279DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B279DA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279DA#FFFFFF#000000##000000
##B279DA1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#638EDD
Deuteranopia (green-blind)
#7292D7
Tritanopia (blue-blind)
#AD889F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b279da;
/* rgb */ color: rgb(178, 121, 218);
/* oklch */ color: oklch(67.2% 0.150 310.0);
Tailwind
colors: {
  custom: {
    50: '#cba1e6',
    500: '#b279da',
    950: '#000000',
  },
}
SCSS
$custom: #b279da;
$custom-light: #cba1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b279da",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 218
  },
  "hsl": {
    "h": 275.258,
    "s": 56.725,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67211,
    "c": 0.14983,
    "h": 310
  },
  "luminance": 0.28202
}

Semantic roles & 50–950 ramp

primary
#B279DA
secondary
#D5E7C8
accent
#C42164
background
#FCFAFE
surface
#F9F3FC
border
#D2CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B279DA

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

Preview Lab → · Contrast checker → · Palette generator →

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