#B279DB#B279DB

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

Color values

HEX#B279DB
RGBrgb(178, 121, 219)
HSLhsl(275, 58%, 67%)
HSVhsv(275, 45%, 86%)
CMYKcmyk(18.7%, 44.7%, 0%, 14.1%)
CIE-LABlab(60.12, 40.19, -41.75)
CIE-LCHlch(60.12, 57.95, 313.91°)
OKLaboklab(67.26% 0.0965 -0.1162)
OKLCHoklch(67.26% 0.151 309.7)
XYZxyz(37.9813, 28.2548, 70.4570)
Luminance0.2825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279DB #A2DB79
analogous
#8179DB #B279DB #DB79D3
triadic
#B279DB #DBB279 #79DBB2
tetradic
#B279DB #DB8179 #A2DB79 #79D3DB
square
#B279DB #DB8179 #A2DB79 #79D3DB
split-complementary
#B279DB #D3DB79 #79DB81
monochromatic
#772EAC #9649CE #B279DB #CEA9E8 #E9D9F5

Accessibility & contrast

On white

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

On black

6.65
#B279DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B279DB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279DB#FFFFFF#000000##000000
##B279DB1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#638EDF
Deuteranopia (green-blind)
#7192D8
Tritanopia (blue-blind)
#AD88A0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b279db;
/* rgb */ color: rgb(178, 121, 219);
/* oklch */ color: oklch(67.3% 0.151 309.7);
Tailwind
colors: {
  custom: {
    50: '#cba1e6',
    500: '#b279db',
    950: '#000000',
  },
}
SCSS
$custom: #b279db;
$custom-light: #cba1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b279db",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 274.898,
    "s": 57.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67262,
    "c": 0.15101,
    "h": 309.7
  },
  "luminance": 0.28254
}

Semantic roles & 50–950 ramp

primary
#B279DB
secondary
#D5E8C8
accent
#C52065
background
#FCFAFE
surface
#F9F3FC
border
#D2CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B279DB

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

Preview Lab → · Contrast checker → · Palette generator →

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