#B279DC#B279DC

#B279DC is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.3% C 0.152 H 309.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B279DC
RGBrgb(178, 121, 220)
HSLhsl(275, 59%, 67%)
HSVhsv(275, 45%, 86%)
CMYKcmyk(19.1%, 45%, 0%, 13.7%)
CIE-LABlab(60.17, 40.41, -42.24)
CIE-LCHlch(60.17, 58.45, 313.73°)
OKLaboklab(67.31% 0.0966 -0.1176)
OKLCHoklch(67.31% 0.152 309.4)
XYZxyz(38.1133, 28.3076, 71.1524)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279DC #A3DC79
analogous
#8179DC #B279DC #DC79D5
triadic
#B279DC #DCB279 #79DCB2
tetradic
#B279DC #DC8179 #A3DC79 #79D5DC
square
#B279DC #DC8179 #A3DC79 #79D5DC
split-complementary
#B279DC #D5DC79 #79DC81
monochromatic
#772DAD #9648CF #B279DC #CEAAE9 #EADAF5

Accessibility & contrast

On white

3.15
#B279DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B279DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B279DC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279DC#FFFFFF#000000##000000
##B279DC1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EE0
Deuteranopia (green-blind)
#7192D9
Tritanopia (blue-blind)
#AD89A0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b279dc;
/* rgb */ color: rgb(178, 121, 220);
/* oklch */ color: oklch(67.3% 0.152 309.4);
Tailwind
colors: {
  custom: {
    50: '#cba1e7',
    500: '#b279dc',
    950: '#000000',
  },
}
SCSS
$custom: #b279dc;
$custom-light: #cba1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b279dc",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 274.545,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67313,
    "c": 0.15219,
    "h": 309.4
  },
  "luminance": 0.28307
}

Semantic roles & 50–950 ramp

primary
#B279DC
secondary
#D6E8C9
accent
#C61F66
background
#FCFAFE
surface
#F9F3FC
border
#D2CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B279DC

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

Preview Lab → · Contrast checker → · Palette generator →

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