#B279FD#B279FD

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

Color values

HEX#B279FD
RGBrgb(178, 121, 253)
HSLhsl(266, 97%, 73%)
HSVhsv(266, 52%, 99%)
CMYKcmyk(29.6%, 52.2%, 0%, 0.8%)
CIE-LABlab(61.85, 48.03, -57.87)
CIE-LCHlch(61.85, 75.21, 309.69°)
OKLaboklab(69.12% 0.1001 -0.1632)
OKLCHoklch(69.12% 0.191 301.5)
XYZxyz(42.9230, 30.2314, 96.4834)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279FD #C4FD79
analogous
#7982FD #B279FD #F479FD
triadic
#B279FD #FDB279 #79FDB2
tetradic
#B279FD #FD7982 #C4FD79 #79FDF4
square
#B279FD #FD7982 #C4FD79 #79FDF4
split-complementary
#B279FD #FDF479 #82FD79
monochromatic
#6D04F8 #8F3DFC #B279FD #D5B5FE #EEE1FF

Accessibility & contrast

On white

2.98
#B279FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#B279FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B279FD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279FD#FFFFFF#000000##000000
##B279FD1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#5B95FA
Tritanopia (blue-blind)
#A392B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b279fd;
/* rgb */ color: rgb(178, 121, 253);
/* oklch */ color: oklch(69.1% 0.191 301.5);
Tailwind
colors: {
  custom: {
    50: '#cca1ff',
    500: '#b279fd',
    950: '#000000',
  },
}
SCSS
$custom: #b279fd;
$custom-light: #cca1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b279fd",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 253
  },
  "hsl": {
    "h": 265.909,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69117,
    "c": 0.1914,
    "h": 301.5
  },
  "luminance": 0.30232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B279FD

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

Preview Lab → · Contrast checker → · Palette generator →

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