#B279FC#B279FC

#B279FC is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.1% C 0.190 H 301.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B279FC
RGBrgb(178, 121, 252)
HSLhsl(266, 96%, 73%)
HSVhsv(266, 52%, 99%)
CMYKcmyk(29.4%, 52%, 0%, 1.2%)
CIE-LABlab(61.80, 47.79, -57.41)
CIE-LCHlch(61.80, 74.70, 309.78°)
OKLaboklab(69.06% 0.1 -0.1618)
OKLCHoklch(69.06% 0.19 301.7)
XYZxyz(42.7641, 30.1679, 95.6466)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279FC #C3FC79
analogous
#7981FC #B279FC #F379FC
triadic
#B279FC #FCB279 #79FCB2
tetradic
#B279FC #FC7981 #C3FC79 #79FCF3
square
#B279FC #FC7981 #C3FC79 #79FCF3
split-complementary
#B279FC #FCF379 #81FC79
monochromatic
#6E05F5 #903DFB #B279FC #D4B5FD #EEE1FE

Accessibility & contrast

On white

2.99
#B279FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#B279FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B279FC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279FC#FFFFFF#000000##000000
##B279FC1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FF
Deuteranopia (green-blind)
#5C95F9
Tritanopia (blue-blind)
#A492AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b279fc;
/* rgb */ color: rgb(178, 121, 252);
/* oklch */ color: oklch(69.1% 0.190 301.7);
Tailwind
colors: {
  custom: {
    50: '#cca1fe',
    500: '#b279fc',
    950: '#000000',
  },
}
SCSS
$custom: #b279fc;
$custom-light: #cca1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b279fc",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 266.107,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69059,
    "c": 0.19022,
    "h": 301.7
  },
  "luminance": 0.30168
}

Semantic roles & 50–950 ramp

primary
#B279FC
secondary
#E8F7D4
accent
#E60082
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B279FC

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

Preview Lab → · Contrast checker → · Palette generator →

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