#B479FB#B479FB

#B479FB is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.2% C 0.189 H 302.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#B479FB
RGBrgb(180, 121, 251)
HSLhsl(267, 94%, 73%)
HSVhsv(267, 52%, 98%)
CMYKcmyk(28.3%, 51.8%, 0%, 1.6%)
CIE-LABlab(61.95, 48.05, -56.61)
CIE-LCHlch(61.95, 74.25, 310.33°)
OKLaboklab(69.2% 0.1024 -0.1594)
OKLCHoklch(69.2% 0.189 302.7)
XYZxyz(43.0684, 30.3431, 94.8359)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B479FB #C0FB79
analogous
#797FFB #B479FB #F579FB
triadic
#B479FB #FBB479 #79FBB4
tetradic
#B479FB #FB797F #C0FB79 #79FBF5
square
#B479FB #FB797F #C0FB79 #79FBF5
split-complementary
#B479FB #FBF579 #7FFB79
monochromatic
#7207F2 #933EF9 #B479FB #D5B4FD #EEE1FE

Accessibility & contrast

On white

2.97
#B479FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#B479FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B479FB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B479FB#FFFFFF#000000##000000
##B479FB1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FF
Deuteranopia (green-blind)
#5E95F8
Tritanopia (blue-blind)
#A791AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b479fb;
/* rgb */ color: rgb(180, 121, 251);
/* oklch */ color: oklch(69.2% 0.189 302.7);
Tailwind
colors: {
  custom: {
    50: '#cea1fd',
    500: '#b479fb',
    950: '#000000',
  },
}
SCSS
$custom: #b479fb;
$custom-light: #cea1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b479fb",
  "rgb": {
    "r": 180,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 267.231,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.692,
    "c": 0.18944,
    "h": 302.7
  },
  "luminance": 0.30343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B479FB

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

Preview Lab → · Contrast checker → · Palette generator →

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