#B279F5#B279F5

#B279F5 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.7% C 0.182 H 303.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B279F5
RGBrgb(178, 121, 245)
HSLhsl(268, 86%, 72%)
HSVhsv(268, 51%, 96%)
CMYKcmyk(27.3%, 50.6%, 0%, 3.9%)
CIE-LABlab(61.42, 46.14, -54.15)
CIE-LCHlch(61.42, 71.14, 310.43°)
OKLaboklab(68.66% 0.0995 -0.1523)
OKLCHoklch(68.66% 0.182 303.2)
XYZxyz(41.6752, 29.7323, 89.9119)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279F5 #BCF579
analogous
#797EF5 #B279F5 #F079F5
triadic
#B279F5 #F5B279 #79F5B2
tetradic
#B279F5 #F5797E #BCF579 #79F5F0
square
#B279F5 #F5797E #BCF579 #79F5F0
split-complementary
#B279F5 #F5F079 #7EF579
monochromatic
#7111E3 #9140F1 #B279F5 #D3B2F9 #EFE3FD

Accessibility & contrast

On white

3.02
#B279F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#B279F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B279F5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279F5#FFFFFF#000000##000000
##B279F51.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5193F9
Deuteranopia (green-blind)
#6194F2
Tritanopia (blue-blind)
#A690AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b279f5;
/* rgb */ color: rgb(178, 121, 245);
/* oklch */ color: oklch(68.7% 0.182 303.2);
Tailwind
colors: {
  custom: {
    50: '#cca1f9',
    500: '#b279f5',
    950: '#000000',
  },
}
SCSS
$custom: #b279f5;
$custom-light: #cca1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b279f5",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 245
  },
  "hsl": {
    "h": 267.581,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68659,
    "c": 0.1819,
    "h": 303.2
  },
  "luminance": 0.29732
}

Semantic roles & 50–950 ramp

primary
#B279F5
secondary
#E6F5D5
accent
#E3037C
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B279F5

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

Preview Lab → · Contrast checker → · Palette generator →

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