#B279F7#B279F7

#B279F7 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.8% C 0.184 H 302.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#B279F7
RGBrgb(178, 121, 247)
HSLhsl(267, 89%, 72%)
HSVhsv(267, 51%, 97%)
CMYKcmyk(27.9%, 51%, 0%, 3.1%)
CIE-LABlab(61.53, 46.61, -55.08)
CIE-LCHlch(61.53, 72.16, 310.24°)
OKLaboklab(68.77% 0.0997 -0.155)
OKLCHoklch(68.77% 0.184 302.7)
XYZxyz(41.9822, 29.8551, 91.5285)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B279F7 #BEF779
analogous
#797FF7 #B279F7 #F179F7
triadic
#B279F7 #F7B279 #79F7B2
tetradic
#B279F7 #F7797F #BEF779 #79F7F1
square
#B279F7 #F7797F #BEF779 #79F7F1
split-complementary
#B279F7 #F7F179 #7FF779
monochromatic
#700EE8 #913FF4 #B279F7 #D3B3FA #EEE2FD

Accessibility & contrast

On white

3.01
#B279F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#B279F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B279F7
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B279F7#FFFFFF#000000##000000
##B279F71.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#6094F4
Tritanopia (blue-blind)
#A590AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b279f7;
/* rgb */ color: rgb(178, 121, 247);
/* oklch */ color: oklch(68.8% 0.184 302.7);
Tailwind
colors: {
  custom: {
    50: '#cca1fa',
    500: '#b279f7',
    950: '#000000',
  },
}
SCSS
$custom: #b279f7;
$custom-light: #cca1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b279f7",
  "rgb": {
    "r": 178,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 267.143,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68772,
    "c": 0.18428,
    "h": 302.7
  },
  "luminance": 0.29855
}

Semantic roles & 50–950 ramp

primary
#B279F7
secondary
#E7F5D6
accent
#E5007E
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B279F7

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

Preview Lab → · Contrast checker → · Palette generator →

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