#B279FA#B279FA

#B279FA is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.9% C 0.188 H 302.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#B279FA
RGBrgb(178, 121, 250)
HSLhsl(267, 93%, 73%)
HSVhsv(267, 52%, 98%)
CMYKcmyk(28.8%, 51.6%, 0%, 2%)
CIE-LABlab(61.69, 47.32, -56.48)
CIE-LCHlch(61.69, 73.68, 309.96°)
OKLaboklab(68.94% 0.0999 -0.1591)
OKLCHoklch(68.94% 0.188 302.1)
XYZxyz(42.4489, 30.0418, 93.9863)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279FA #C1FA79
analogous
#7980FA #B279FA #F379FA
triadic
#B279FA #FAB279 #79FAB2
tetradic
#B279FA #FA7980 #C1FA79 #79FAF3
square
#B279FA #FA7980 #C1FA79 #79FAF3
split-complementary
#B279FA #FAF379 #80FA79
monochromatic
#6F09F0 #903EF8 #B279FA #D4B4FC #EEE2FE

Accessibility & contrast

On white

3.00
#B279FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#B279FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B279FA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279FA#FFFFFF#000000##000000
##B279FA1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#5D95F7
Tritanopia (blue-blind)
#A491AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b279fa;
/* rgb */ color: rgb(178, 121, 250);
/* oklch */ color: oklch(68.9% 0.188 302.1);
Tailwind
colors: {
  custom: {
    50: '#cca1fc',
    500: '#b279fa',
    950: '#000000',
  },
}
SCSS
$custom: #b279fa;
$custom-light: #cca1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b279fa",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 266.512,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68944,
    "c": 0.18784,
    "h": 302.1
  },
  "luminance": 0.30042
}

Semantic roles & 50–950 ramp

primary
#B279FA
secondary
#E7F6D5
accent
#E60080
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B279FA

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

Preview Lab → · Contrast checker → · Palette generator →

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